diff options
author | jhb <jhb@FreeBSD.org> | 2013-03-18 17:23:58 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-03-18 17:23:58 +0000 |
commit | 8b099870ed9610eb7624539e21eda50303937968 (patch) | |
tree | bc3da40472cd5518cd47bfef78827d9214361be6 /sys/kern/subr_trap.c | |
parent | 5f339017dc07b801ac6a4adcf667eb4fdcb0d408 (diff) | |
download | FreeBSD-src-8b099870ed9610eb7624539e21eda50303937968.zip FreeBSD-src-8b099870ed9610eb7624539e21eda50303937968.tar.gz |
Partially revert r195702. Deferring stops is now implemented via a set of
calls to toggle TDF_SBDRY rather than passing PBDRY to individual sleep
calls.
- Remove the stop_allowed parameters from cursig() and issignal().
issignal() checks TDF_SBDRY directly.
- Remove the PBDRY and SLEEPQ_STOP_ON_BDRY flags.
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r-- | sys/kern/subr_trap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 11a4bc4..19729a4 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -267,7 +267,7 @@ ast(struct trapframe *framep) !SIGISEMPTY(p->p_siglist)) { PROC_LOCK(p); mtx_lock(&p->p_sigacts->ps_mtx); - while ((sig = cursig(td, SIG_STOP_ALLOWED)) != 0) + while ((sig = cursig(td)) != 0) postsig(sig); mtx_unlock(&p->p_sigacts->ps_mtx); PROC_UNLOCK(p); |