git: kernel - MPSAFE work - fix bugs in recent MPSAFE work.
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Jun 13 09:34:43 PDT 2010
commit 6f9db61576fd340f7ae1d1431fb6ad845bd73aa2
Author: Matthew Dillon <dillon at 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 at 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
More information about the Commits
mailing list