Re: [patch 4/4] cpu alloc: Use cpu allocator instead of the builtinmodules per cpu allocator
From: Eric Dumazet
Date: Fri Sep 19 2008 - 03:40:30 EST
Christoph Lameter a écrit :
Remove the builtin per cpu allocator from modules.c and use cpu_alloc instead.
Signed-off-by: Christoph Lameter <clameter@xxxxxxx>
+ percpu_size = sechdrs[pcpuindex].sh_size;
+
+ if (align > PAGE_SIZE) {
+ printk(KERN_WARNING "%s: per-cpu alignment %li > %li\n",
+ mod->name, align, PAGE_SIZE);
+ align = PAGE_SIZE;
+ }
Minor question : Wy do you have to keep this cap of alignment ?
I could not find such a limit in the allocator
--
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/