-
- Downloads
[PATCH] x86-64: Account for module percpu space separately from kernel percpu
Rather than using a single constant PERCPU_ENOUGH_ROOM, compute it as the sum of kernel_percpu + PERCPU_MODULE_RESERVE. This is now common to all architectures; if an architecture wants to set PERCPU_ENOUGH_ROOM to something special, then it may do so (ia64 is the only one which does). Signed-off-by:Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by:
Andi Kleen <ak@suse.de> Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Andi Kleen <ak@suse.de>
Showing
- include/asm-alpha/percpu.h 0 additions, 14 deletionsinclude/asm-alpha/percpu.h
- include/asm-sparc64/percpu.h 0 additions, 10 deletionsinclude/asm-sparc64/percpu.h
- include/asm-x86_64/percpu.h 0 additions, 10 deletionsinclude/asm-x86_64/percpu.h
- include/linux/percpu.h 8 additions, 1 deletioninclude/linux/percpu.h
- kernel/module.c 1 addition, 1 deletionkernel/module.c
Loading
Please register or sign in to comment