git: DragonFly_RELEASE_2_12 vm_object locking fixes

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Wed Oct 12 17:45:41 PDT 2011


commit 316672b1896b289b16733682730638b488d1ca27
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Wed Oct 12 17:44:41 2011 -0700

    vm_object locking fixes
    
    * vm_object_shadow() was failing to hold/drop source objects it was working
      on while manipulating the source object.
    
    * vm_object_deallocate_locked() needed to retest the object refcount after
      locking it's token.
    
    From: dillon
    Reported-by: marino

Summary of changes:
 sys/vm/vm_object.c |   29 ++++++++++++++++++++++++++---
 1 files changed, 26 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/316672b1896b289b16733682730638b488d1ca27


-- 
DragonFly BSD source repository





More information about the Commits mailing list