Skip to content

Per cpu code simplification

Christoph Lameter linux-ia64 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 43 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14Modules: Handle symbols that have a zero valuekernel/module.c+10 -70 replies
2/14Modules: Include sections.h to avoid defining linker variables explicitlykernel/module.c+1 -30 replies
3/14Modules: Fold percpu_modcopy into module.c and get rid of the macro from hellarch/ia64/kernel/module.c include/asm-generic/percpu.h include/asm-ia64/percpu.h +6 more+8 -670 replies
4/14ia64: Remove the __SMALL_ADDR_AREA attribute for per cpu accessarch/ia64/scripts/check-model.c arch/ia64/scripts/toolchain-flags include/asm-ia64/percpu.h+3 -1611 replies
5/14percpu: Use a Kconfig variable to configure arch specific percpu setuparch/ia64/Kconfig arch/powerpc/Kconfig arch/sparc64/Kconfig +5 more+17 -1024 replies
6/14percpu: Move arch XX_PER_CPU_XX definitions into linux/percpu.hinclude/asm-generic/percpu.h include/asm-ia64/percpu.h include/asm-powerpc/percpu.h +5 more+17 -1160 replies
7/14percpu: Make the asm-generic/percpu.h more genericinclude/asm-generic/percpu.h+53 -110 replies
8/14x86_32: Use generic percpu.hinclude/asm-x86/percpu_32.h+9 -210 replies
9/14x86_64: Use generic percpuinclude/asm-x86/percpu_64.h+3 -250 replies
10/14s390: Use generic percpuinclude/asm-s390/percpu.h+9 -240 replies
11/14Powerpc: Use generic per cpuinclude/asm-powerpc/percpu.h+0 -197 replies
12/14Sparc64: Use generic percpuarch/sparc64/mm/init.c include/asm-sparc64/percpu.h+7 -100 replies
13/14ia64: Use generic percpuinclude/asm-ia64/percpu.h+8 -161 reply
14/14x86: Unify percpu.hinclude/asm-x86/percpu.h include/asm-x86/percpu_32.h include/asm-x86/percpu_64.h+141 -1430 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 00/14] Per cpu code simplification

This patchset simplifies the code that arches need to maintain to support per cpu functionality. Most of the code is moved into arch independent code. Only a set of minimal definitions is kept for each arch.

The patch also unifies the x86 arch so that there is only a single asm-x86/percpu.h