diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 4a02c85da07b..add54bc2bcb1 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);