Re: [PATCH -mm] slub: fix cpu hotplug offline/online path

From: Pekka Enberg
Date: Tue Oct 09 2007 - 13:41:25 EST


Hi Akinobu,

On 10/9/07, Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote:
> This is because init_alloc_cpu_cpu() is called every time when the CPU is
> going to be onlined but init_alloc_cpu_cpu() is not intented to be called
> twice or more for same CPU. Then it breaks kmem_cache_cpu_free list for
> the CPU.
>
> This patch removes init_alloc_cpu_cpu() from cpu hotplug notifier. But
> call it for each possible CPUs not only online CPUs at initialization time.

Looks good to me!

Reviewed-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
-
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/