Date: Fri, 18 Apr 2003 13:59:05 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_sig.c src/sys/sys proc.h Message-ID: <200304182059.h3IKx5SY038382@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2003/04/18 13:59:05 PDT FreeBSD src repository Modified files: sys/kern kern_sig.c sys/sys proc.h Log: - Make sigonstack() a regular function instead of an inline and add a proc lock assertion to it. - SIGPENDING() no longer needs sched_lock, so only grab sched_lock to set the TDF_NEEDSIGCHK and TDF_ASTPENDING flags in signotify(). - Add a proc lock assertion to tdsigwakeup(). - Since we always set TDF_OLDMASK while holding the proc lock, the proc lock is sufficient protection to check its state in postsig() and we only need sched_lock when clearing the actual flag. Revision Changes Path 1.228 +23 -5 src/sys/kern/kern_sig.c 1.317 +1 -16 src/sys/sys/proc.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304182059.h3IKx5SY038382>