Re: SMP BUG
From: Linus Torvalds
Date: Thu Feb 16 2006 - 10:53:54 EST
On Thu, 16 Feb 2006, Russell King wrote:
>
> It fixes that exact oops but only by preventing us getting that far
> due to another oops.
Thanks for walking through it.
> We call cpu_up, which sends a CPU_UP_PREPARE event. This causes the
> migration thread to be spawned, and rq->migration_thread to be set.
>
> Eventually, we call the architecture __cpu_up(), which ends up
> calling init_idle(). Due to this patch, init_idle() then NULLs out
> rq->migration_thread.
Fair enough.
That actually does point to a real bug, I think. The fact that we
apparently now survive the fact that we spawn the migration thread before
the idle thread works looks like it just hides the bug that we shouldn't
do that. Ingo?
Oh, well. For now the fix is clearly to just leave things well alone, and
just have cpu_possible_map initialized early enough.
Linus
-
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/