[lkml]   [2007]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -mm] slub: fix cpu hotplug offline/online path
On Wed, 10 Oct 2007, Akinobu Mita wrote:

> I couldn't use get_cpu_slab() for that check. But I reviced the patch to do
> what you said.

Why would get_cpu_slab not work?

> + if (per_cpu(kmem_cache_cpu_free, cpu)) {
> + /* Already initialized once */
> + return;
> + }
> +

kmem_cache_cpu_free is not only NULL if the cpu is not up yet but it is
also NULL if the per cpu pool of kmem_cache_cpu structures was
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-10-10 19:41    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean