Re: [GIT RFC] percpu: use dynamic percpu allocator as the defaultpercpu allocator

From: Christoph Lameter
Date: Tue Mar 31 2009 - 13:26:25 EST


On Tue, 31 Mar 2009, Martin Schwidefsky wrote:

> I got the dynamic cpu allocator to work with the patch below. Anybody
> with an objection against the SHIFT_PERCPU_VAR macro ?

Please include the patch inline next time.

Why is there a difference between percpu alloc and "static" percpu
variables? The "static" percpu variables can be dynamically allocated when
a module is loaded.

Isnt this mmore an issue that can be addressed by changing the way the initial per cpu
segment is allocated? If its also dynamically allocated then there should
be no problem?


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