Project

General

Profile

Bug #2623 ยป patch-kern_sig.c

Kernel patch removing lwkt_xxx_token() calls from sigexit() - ftigeot, 01/12/2014 01:29 AM

 
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 1aa023bd..0822ac2 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -2162,7 +2162,6 @@ sigexit(struct lwp *lp, int sig)
{
struct proc *p = lp->lwp_proc;
- lwkt_gettoken(&p->p_token);
p->p_acflag |= AXSIG;
if (sigprop(sig) & SA_CORE) {
lp->lwp_sig = sig;
@@ -2182,7 +2181,6 @@ sigexit(struct lwp *lp, int sig)
sig &~ WCOREFLAG,
sig & WCOREFLAG ? " (core dumped)" : "");
}
- lwkt_reltoken(&p->p_token);
exit1(W_EXITCODE(0, sig));
/* NOTREACHED */
}
    (1-1/1)