Skip to content

percpu: Per cpu code simplification V2

[email protected] linux-ia64 linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn 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

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+14 -70 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 -110 replies
4/10x86_32: Use generic percpu.hinclude/asm-x86/percpu_32.h+9 -210 replies
5/10x86_64: Use generic percpuinclude/asm-x86/percpu_64.h+3 -250 replies
6/10s390: Use generic percpuinclude/asm-s390/percpu.h+9 -240 replies
7/10Powerpc: Use generic per cpuinclude/asm-powerpc/percpu.h+2 -190 replies
8/10Sparc64: Use generic percpuarch/sparc64/mm/init.c include/asm-sparc64/percpu.h+7 -101 reply
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 -1430 replies

Reviews trailers per patch

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

PatchDavid S. Miller
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10A-b
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] percpu: Per cpu code simplification V2

[resending as my first attempt sent only a partial list.]

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

Signature · 5 lines
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>