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

git: kernel - Fix hold race and catch bad vm_object terminations


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Apr 2011 08:34:36 -0700 (PDT)

commit 34542daf57322ec6f265a100ebefb24a1805688b
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Apr 15 08:32:56 2011 -0700

    kernel - Fix hold race and catch bad vm_object terminations
    
    * vm_object_hold_wait() currently also needs the vm_token to safely
      test rb_memq.
    
    * Add code to complain if a VM object's rb_memq is not empty when
      the object is being terminated.

Summary of changes:
 sys/vm/swap_pager.c |    3 +++
 sys/vm/vm_object.c  |   21 +++++++++++++++++++--
 2 files changed, 22 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/34542daf57322ec6f265a100ebefb24a1805688b


-- 
DragonFly BSD source repository



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