diff options
author | John Baldwin <jhb@FreeBSD.org> | 2003-04-23 18:51:55 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2003-04-23 18:51:55 +0000 |
commit | 5eac9e2dcbcb9547bd1b5a6137a82c88da89a547 (patch) | |
tree | 1f18d0460a114f1882bd6abe7ba9ded42c7b24a4 /sys/kern/subr_trap.c | |
parent | 2056d0a168da61194845626fcbfc1722893a2d2c (diff) | |
download | src-5eac9e2dcbcb9547bd1b5a6137a82c88da89a547.tar.gz src-5eac9e2dcbcb9547bd1b5a6137a82c88da89a547.zip |
The signotify() sanity check in userret() doesn't need Giant anymore.
Notes
Notes:
svn path=/head/; revision=113924
Diffstat (limited to 'sys/kern/subr_trap.c')
-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 11e25e4192e1..b2fc0fc5abaa 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -78,7 +78,6 @@ userret(td, frame, oticks) p->p_comm); #ifdef INVARIANTS /* Check that we called signotify() enough. */ - mtx_lock(&Giant); PROC_LOCK(p); mtx_lock_spin(&sched_lock); if (SIGPENDING(td) && ((td->td_flags & TDF_NEEDSIGCHK) == 0 || @@ -86,7 +85,6 @@ userret(td, frame, oticks) printf("failed to set signal flags properly for ast()\n"); mtx_unlock_spin(&sched_lock); PROC_UNLOCK(p); - mtx_unlock(&Giant); #endif /* |