看板 DFBSD_commit 關於我們 聯絡資訊
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