DragonFly BSD
DragonFly commits List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel -- vm_object locking: DEBUG_LOCKS check for hold_wait vs hold deadlock


From: Venkatesh Srinivas <vsrinivas@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Mar 2011 07:37:21 -0700 (PDT)

commit cb443cbb47dab690574674c82ee9407c28deb544
Author: Venkatesh Srinivas <me@endeavour.zapto.org>
Date:   Sun Mar 27 07:20:20 2011 -0700

    kernel -- vm_object locking: DEBUG_LOCKS check for hold_wait vs hold deadlock
    
    If a thread has a hold on a vm_object and enters hold_wait (via either
    vm_object_terminate or vm_object_collapse), it will wait forever for the hold
    count to hit 0. Record the threads holding an object in a per-object array.

Summary of changes:
 sys/vm/vm_object.c |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 sys/vm/vm_object.h |   11 +++++++++++
 2 files changed, 59 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cb443cbb47dab690574674c82ee9407c28deb544


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]