DragonFly commits List (threaded) for 2010-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - fix procfs vm_map scan.
commit 7a6ce7c7fc9b080ca50453ba55d7a405c92ca5f4
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Wed Mar 10 15:56:09 2010 -0800
kernel - fix procfs vm_map scan.
* procfs was holding a vm_map lock during a uiomove, which can result
in a recursive lock panic on the vm_map.
* since we must now unlock the map during the uiomove use a trick with
vm_map->hint to detect if the current entry has been ripped out from
under us and issue a lookup to reacquire our position in the scan.
Reported-by: "Alex Hornung" <ahornung@gmail.com>
Summary of changes:
sys/vfs/procfs/procfs_map.c | 37 +++++++++++++++++++++++++++++++++----
1 files changed, 33 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a6ce7c7fc9b080ca50453ba55d7a405c92ca5f4
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]