Re: 2.6.1-mm4

From: Rusty Russell
Date: Mon Jan 19 2004 - 06:39:07 EST


In message <20040117105239.0b94f2b3.akpm@xxxxxxxx> you write:
> Hugh Dickins <hugh@xxxxxxxxxxx> wrote:
> > I was getting something like that on reboot a few days ago, I think it
> > was with 2.6.1-mm2. I had to move on before debugging it fully, but
> > the impression I got (maybe vile calumny, sue me Rusty) was that the
> > new kthread_create for 2.6.1-mm's ksoftirqd was leaving it vulnerable
> > to shutdown kill, whereas other things (RCU in my traces) still needed
> > it around and assumed its task address still valid.
>
> Yes. ksoftirqd and the migration threads can now be killed off
> with `kill -9'.

"That shouldn't happen".

We block and flush all signals in workqueue.c. How is that kill -9
getting through?

It also implies that previously ksoftirqd and migration threads would
tight spin after kill -9, since they slept with TASK_INTERRUPTIBLE.

Will dig...
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/