git: kernel - fix procfs vm_map scan.

看板DFBSD_commit作者時間16年前 (2010/03/11 08:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Bc3B2ma (DFBSD_commit)