Skip to content

percpu: Per cpu code simplification V2

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 of 10 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

7 of 10 patches are in this archive. The cover letter announces 10.

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 -71 reply
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 -1201 reply
3/10percpu: Make the asm-generic/percpu.h more "generic"include/asm-generic/percpu.h+58 -111 reply
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 -2513 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

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchDavid S. Miller
1/10A-b
2/10A-b
3/10A-b
4/10
5/10
6/10
7/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

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>