Handle a rare but fatal race invoked sometimes when SIGSTOP is
invoked.
This commit is contained in:
parent
488379bb11
commit
f0b60d7560
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user