I encountered "panic: msleep" while investigating an issue, which led to @kib's change in D8421. I applied the change here locally while investigating, because four different cases would result in the same panic string. There may be a better way to disambiguate these cases though; what do you think?
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/kern/kern_synch.c | ||
---|---|---|
155 | Yeah, that is old (in 4.x p was NULL in the idle loop, but that was also all in assembly). It can probably go away. As bde@ would point out it will panic shortly anyway via a trap when td is dereferenced. | |
157 | Or "curthread not running". I think the existing message is ok as well. |