Subject: slub: Rename kmem_cach_cpu_free_init_once to cpu_set_up kmem_cache_cpu_free_init_once is a strange name. The cpumask tracks which per cpu structures have already been setup. So rename it to cpu_set_up. Signed-off-by: Christoph Lameter --- mm/slub.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: linux-2.6/mm/slub.c =================================================================== --- linux-2.6.orig/mm/slub.c 2008-04-24 23:19:03.139899059 -0700 +++ linux-2.6/mm/slub.c 2008-04-24 23:28:32.232400875 -0700 @@ -2005,7 +2005,7 @@ static DEFINE_PER_CPU(struct kmem_cache_ kmem_cache_cpu)[NR_KMEM_CACHE_CPU]; static DEFINE_PER_CPU(struct kmem_cache_cpu *, kmem_cache_cpu_free); -static cpumask_t kmem_cach_cpu_free_init_once = CPU_MASK_NONE; +static cpumask_t cpu_set_up = CPU_MASK_NONE; static struct kmem_cache_cpu *alloc_kmem_cache_cpu(struct kmem_cache *s, int cpu, gfp_t flags) @@ -2080,13 +2080,13 @@ static void init_alloc_cpu_cpu(int cpu) { int i; - if (cpu_isset(cpu, kmem_cach_cpu_free_init_once)) + if (cpu_isset(cpu, cpu_set_up)) return; for (i = NR_KMEM_CACHE_CPU - 1; i >= 0; i--) free_kmem_cache_cpu(&per_cpu(kmem_cache_cpu, cpu)[i], cpu); - cpu_set(cpu, kmem_cach_cpu_free_init_once); + cpu_set(cpu, cpu_set_up); } static void __init init_alloc_cpu(void)