summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-04-13 09:29:34 +0000
committermarkm <markm@FreeBSD.org>2001-04-13 09:29:34 +0000
commit0efbb4e263bb981fb99f0ba1d46b85ef939fbd1f (patch)
treee46b1e8b27a6f9f57d7afdfccc57dab43fcf120f /sys/kern/kern_mutex.c
parent35e3c41f016dad1a83a0404e21f59f67b94f06e7 (diff)
downloadFreeBSD-src-0efbb4e263bb981fb99f0ba1d46b85ef939fbd1f.zip
FreeBSD-src-0efbb4e263bb981fb99f0ba1d46b85ef939fbd1f.tar.gz
Handle a rare but fatal race invoked sometimes when SIGSTOP is
invoked.
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r--sys/kern/kern_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index ba2da45..379b357 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -142,7 +142,7 @@ propagate_priority(struct proc *p)
* If lock holder is actually running, just bump priority.
*/
if (p->p_oncpu != NOCPU) {
- MPASS(p->p_stat == SRUN || p->p_stat == SZOMB);
+ MPASS(p->p_stat == SRUN || p->p_stat == SZOMB || p->p_stat == SSTOP);
return;
}
OpenPOWER on IntegriCloud