git: kernel - Add debugging and attempt to fix vm_prefault issue
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jul 13 18:24:21 PDT 2011
commit a31129d838620ac18492c7f9cdb2811f6951e26e
Author: Matthew Dillon <dillon at 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 at 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
More information about the Commits
mailing list