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

git: kernel - Add debugging and attempt to fix vm_prefault issue


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Jul 2011 18:23:32 -0700 (PDT)

commit a31129d838620ac18492c7f9cdb2811f6951e26e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Jul 13 18:21:10 2011 -0700

    kernel - Add debugging and attempt to fix vm_prefault issue
    
    * Add debugging assertions and attempt to fix a race in the vm_prefault
      code when running through backing_object chains.
    
    * The fix may be incomplete, we really need a way to determine whether any
      chain element has changed state during the scan.  The generation count
      may be too excessive as it also covers vm_page insertions.
    
    Reported-by: Peter Avalos <peter@theshell.com>

Summary of changes:
 sys/vm/vm_fault.c  |   51 ++++++++++++++++++++++++++++++++++++++++++++-------
 sys/vm/vm_object.c |    2 +-
 sys/vm/vm_object.h |    1 +
 3 files changed, 46 insertions(+), 8 deletions(-)

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


-- 
DragonFly BSD source repository



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