Re: [PATCH] fix workqueue oops during cpu offline

From: Tony Luck
Date: Thu Jan 05 2006 - 16:44:35 EST


On 1/4/06, Nathan Lynch <ntl@xxxxxxxxx> wrote:
> This is where things go wrong -- any_online_cpu() now gets 1, not 0.
> In queue_work, the cpu_workqueue_struct at per_cpu_ptr(wq->cpu_wq, 1) is
> uninitialized.

Same issue on ia64 when I tried to add Ashok' s patch to allow
removal of cpu0 (BSP in ia64-speak). Ashok told me that this fix
solves the problem for us too.

-Tony
-
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/