git: kernel - Additional fixes for vm_prefault issue
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Jul 17 23:48:53 PDT 2011
commit 6e9c08674f7055f843113ddf9e181ec05ca764fd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Jul 17 23:45:11 2011 -0700
kernel - Additional fixes for vm_prefault issue
* Fix a case where map->timestamp was being tested without holding the
map lock, which can race. We now relock the map prior to testing
map->timestamp.
* Fix a case where map->timestamp was being adjusted with the map lock
released.
Reported-by: Peter Avalos <peter at theshell.com>
Summary of changes:
sys/vm/vm_fault.c | 50 +++++++++++++++++++++++++++++++++++++-------------
1 files changed, 37 insertions(+), 13 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e9c08674f7055f843113ddf9e181ec05ca764fd
--
DragonFly BSD source repository
More information about the Commits
mailing list