diff options
author | jhb <jhb@FreeBSD.org> | 2002-06-07 05:43:40 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-06-07 05:43:40 +0000 |
commit | 1a2a2fa24afbd97c46308753048ed7d38d299aaa (patch) | |
tree | 4a03ad54ef4e9736a96d21e86d1d2e65dc5e5ad7 /sys/kern | |
parent | 11b212e025463c64510690ae13461432242c8504 (diff) | |
download | FreeBSD-src-1a2a2fa24afbd97c46308753048ed7d38d299aaa.zip FreeBSD-src-1a2a2fa24afbd97c46308753048ed7d38d299aaa.tar.gz |
We no longer need to acqure Giant in ast() for ktrpsig() in postsig() now
that ktrace no longer needs Giant.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_trap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 4a02c85..add54bc 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -198,12 +198,10 @@ ast(framep) mtx_unlock_spin(&sched_lock); } if (sflag & PS_NEEDSIGCHK) { - mtx_lock(&Giant); PROC_LOCK(p); while ((sig = cursig(p)) != 0) postsig(sig); PROC_UNLOCK(p); - mtx_unlock(&Giant); } userret(td, framep, sticks); |