| plan 9 kernel history: overview | file list | diff list |
2002/0420/port/proc.c (diff list | history)
| 2002/0416/sys/src/9/port/proc.c:87,96 – 2002/0420/sys/src/9/port/proc.c:87,98 (short | long | prev | next) | ||
|
Panic if sched during ilock.
Bug fix? delay the sched during lock for any run state other than Moribund, not just Running.
rsc Mon Mar 20 20:49:33 2006 | ||
| 1990/0227 | void sched(void) { | |
| 2002/0420 | if(m->ilockdepth) panic("ilockdepth %d", m->ilockdepth); | |
| 2002/0403 | if(up){ | |
| 2002/0416 |
| |
| 2002/0403 |
| |
| 2002/0420 | if(up->nlocks && up->state != Moribund){ delayedscheds++; | |
| 2002/0403 | return; } | |