1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

We no longer need to acqure Giant in ast() for ktrpsig() in postsig() now

that ktrace no longer needs Giant.
This commit is contained in:
John Baldwin 2002-06-07 05:43:40 +00:00
parent 374a15aa55
commit d0c149fce8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98000

View File

@ -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);