summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-06-07 05:43:40 +0000
committerjhb <jhb@FreeBSD.org>2002-06-07 05:43:40 +0000
commit1a2a2fa24afbd97c46308753048ed7d38d299aaa (patch)
tree4a03ad54ef4e9736a96d21e86d1d2e65dc5e5ad7 /sys
parent11b212e025463c64510690ae13461432242c8504 (diff)
downloadFreeBSD-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')
-rw-r--r--sys/kern/subr_trap.c2
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);
OpenPOWER on IntegriCloud