:On Mon, Jun 2, 2008 at 4:50 AM, Matthew Dillon
:<[EMAIL PROTECTED]> wrote:
:> A recent commit at some point in the last few weeks is causing
:> real-kernel reboots and shutdowns to ocassionally double-fault.
:> vkernels also occassionally seg-fault on shutdown.
:
:Strange, I have four boxes runs HEAD from May 31. Though rebooting of
:these boxes is not very frequent, I didn't experience the problem you
:described (both UP and MP).
:
:Best Regards,
:sephe
I found the bug. It's a bug in the objcache calls to free the thread
structure. objcache_put() is being called with td in the context of
that same td, which is illegal.
What I will have to do is put a one-entry TD cache back in the per-cpu
globaldata so the TD remains valid through cpu_thread_exit().
-Matt
Matthew Dillon
<[EMAIL PROTECTED]>