git: kernel - MPSAFE work - fix bugs in recent MPSAFE work.

看板DFBSD_commit作者時間15年前 (2010/06/14 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
commit 6f9db61576fd340f7ae1d1431fb6ad845bd73aa2 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sun Jun 13 09:31:25 2010 -0700 kernel - MPSAFE work - fix bugs in recent MPSAFE work. * Adjust comment for zpfind(), it does not PHOLD() the returned process, in order to match pfind(). * Adjust two use-cases for zpfind() to hold proc_token across the call, and to PHOLD/PRELE(p) if necessary, so (p) remains stable. Reported-by: Venkatesh Srinivas <vsrinivas@crater.dragonflybsd.org> Summary of changes: sys/emulation/linux/linux_signal.c | 18 ++++++++++++------ sys/kern/kern_event.c | 10 ++++++++-- sys/kern/kern_proc.c | 2 +- 3 files changed, 21 insertions(+), 9 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6f9db61576fd340f7ae1d1431fb6ad845bd73aa2 -- DragonFly BSD source repository
文章代碼(AID): #1C5Hpdqy (DFBSD_commit)
文章代碼(AID): #1C5Hpdqy (DFBSD_commit)