Still ULE+PREEMPTION
I have done several experiments/asserts to ensure that the panic is related to ULE+PREEMPTION case only.
ULE: no panic
4BSD: no panic
4BSD+PREEMPTION: no panic
My latest progress is that I found that sched_switch in ULE for the threaded case, can decide whether subsequent call would panic. Investigating.
在线阅读本文并参与讨论 delphij's Chaos https://blog.delphij.net/posts/2005/06/still-ulepreemp/