Skip to content

Per cpu code simplification V2

Christoph Lameter linux-ia64 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 16 repliesIn review

V1->V2 from the cover letter

- Add support for specifying attributes for per cpu declarations (preserves IA64 model(small) attribute).
- Drop first patch that removes the model(small) attribute for IA64
- Missing #endif in powerpc generic config / Wrong Kconfig
- Follow Randy's suggestions on how to do the Kconfig settings
- Rediff against 2.6.24-rc3-mm2

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10percpu: Use a kconfig variable to signal arch specific percpu setuparch/ia64/Kconfig arch/powerpc/Kconfig arch/sparc64/Kconfig +5 more+13 -100 replies
2/10percpu: 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+23 -1200 replies
3/10percpu: Make the asm-generic/percpu.h more "generic"include/asm-generic/percpu.h+58 -1111 replies
4/10x86_32: Use generic percpu.hinclude/asm-x86/percpu_32.h+9 -211 reply
5/10x86_64: Use generic percpuinclude/asm-x86/percpu_64.h+3 -251 reply
6/10s390: Use generic percpuinclude/asm-s390/percpu.h+9 -242 replies
7/10Powerpc: Use generic per cpuinclude/asm-powerpc/percpu.h+1 -190 replies
8/10Sparc64: Use generic percpuarch/sparc64/mm/init.c include/asm-sparc64/percpu.h+7 -100 replies
9/10ia64: Use generic percpuinclude/asm-ia64/percpu.h include/linux/percpu.h+7 -220 replies
10/10x86: Unify percpu.hinclude/asm-x86/percpu.h include/asm-x86/percpu_32.h include/asm-x86/percpu_64.h+141 -1431 reply

Reviews trailers per patch

1 of 10 patches has a Reviewed-by or Acked-by.

PatchMartin Schwidefsky
1/10
2/10
3/10
4/10
5/10
6/10A-b
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 00/10] Per cpu code simplification V2

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 minimal set of definitions is kept for each arch.

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

V1->V2:
- Add support for specifying attributes for per cpu declarations (preserves IA64 model(small) attribute).
- Drop first patch that removes the model(small) attribute for IA64
- Missing #endif in powerpc generic config / Wrong Kconfig
- Follow Randy's suggestions on how to do the Kconfig settings
- Rediff against 2.6.24-rc3-mm2