commit ce2ac2495c5a0f342ac2f878c823518e010a91c6
Author: Matthew Dillon <[email protected]>
Date: Sat Oct 29 11:23:24 2011 -0700
kernel - Fix deadlock in vm_prefault
* vm_prefault*() was being called while the primary vm_fault page was
still being held busy, which could result in a deadlock.
* Reorder the case to unbusy the primary fault page before calling
vm_prefault().
Reported-by: tuxillo
Summary of changes:
sys/vm/vm_fault.c | 36 +++++++++++++++++++-----------------
1 files changed, 19 insertions(+), 17 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ce2ac2495c5a0f342ac2f878c823518e010a91c6
--
DragonFly BSD source repository