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

Christoph Lameter
2009-03-31T17:26:24Z

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?