Skip to content

fork: Move most archs to generic threadinfo/taskstruct allocators

Thomas Gleixner lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 38 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18fork: Remove the weak insanityarch/sh/include/asm/thread_info.h arch/x86/include/asm/thread_info.h kernel/fork.c+1 -94 replies
2/18fork: Provide weak arch_release_[task_struct|thread_info] functionskernel/fork.c+17 -41 reply
3/18fork: Move thread info gfp flags to headerinclude/linux/thread_info.h kernel/fork.c+8 -66 replies
4/18fork: Provide kmemcache based thread_info allocatorkernel/fork.c+27 -01 reply
5/18x86: Use common threadinfo allocatorarch/x86/include/asm/boot.h arch/x86/include/asm/page_32_types.h arch/x86/include/asm/page_64_types.h +3 more+12 -311 reply
6/18c6x: Use common threadinfo allocatorarch/c6x/include/asm/thread_info.h+2 -152 replies
7/18cris: Use common threadinfo allocatorarch/cris/include/asm/processor.h arch/cris/include/asm/thread_info.h+2 -92 replies
8/18frv: Use common threadinfo allocatorarch/frv/include/asm/thread_info.h+0 -131 reply
9/18hexagon: Use common threadinfo allocatorarch/hexagon/include/asm/thread_info.h arch/hexagon/kernel/process.c+0 -451 reply
10/18m32r: Use common threadinfo allocatorarch/m32r/include/asm/thread_info.h+2 -151 reply
11/18mips: Use common threadinfo allocatorarch/mips/include/asm/thread_info.h+0 -121 reply
12/18mn10300: Use common threadinfo allocatorarch/mn10300/include/asm/thread_info.h arch/mn10300/kernel/kgdb.c+4 -161 reply
13/18powerpc: Use common threadinfo allocatorarch/powerpc/include/asm/thread_info.h arch/powerpc/kernel/process.c+0 -441 reply
14/18score: Use common threadinfo allocatorarch/score/include/asm/thread_info.h+3 -71 reply
15/18sh: Use common threadinfo allocatorarch/sh/include/asm/thread_info.h arch/sh/kernel/process.c+3 -531 reply
16/18sparc: Use common threadinfo allocatorarch/sparc/include/asm/thread_info_64.h+2 -232 replies
17/18tile: Use common threadinfo allocatorarch/tile/include/asm/thread_info.h arch/tile/kernel/process.c+4 -258 replies
18/18task_allocator: Use config switches instead of magic definesarch/Kconfig arch/ia64/Kconfig arch/ia64/include/asm/thread_info.h +3 more+14 -93 replies

Reviews trailers per patch

4 of 18 patches have a Reviewed-by or Acked-by.

PatchDavid S. MillerMark SalterChris MetcalfJesper Nilsson
1/18
2/18
3/18
4/18
5/18
6/18A-b
7/18A-b
8/18
9/18
10/18
11/18
12/18
13/18
14/18
15/18
16/18A-b A-b
17/18A-b
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [patch 00/18] fork: Move most archs to generic threadinfo/taskstruct allocators

We have a lot of duplicate implementations of the threadinfo and task struct allocator around in arch/*. This series consolidates them.

Applies on top of

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp/hotplug

Thanks,

tglx

---
 arch/Kconfig                            |    8 +++
 arch/c6x/include/asm/thread_info.h      |   17 -------
 arch/cris/include/asm/processor.h       |    5 --
 arch/cris/include/asm/thread_info.h     |    6 --
 arch/frv/include/asm/thread_info.h      |   13 ------
 arch/hexagon/include/asm/thread_info.h  |    8 ---
 arch/hexagon/kernel/process.c           |   37 -----------------
 arch/ia64/Kconfig                       |    2 
 arch/ia64/include/asm/thread_info.h     |    3 -
 arch/m32r/include/asm/thread_info.h     |   17 -------
 arch/mips/include/asm/thread_info.h     |   12 -----
 arch/mn10300/include/asm/thread_info.h  |   17 +------
 arch/mn10300/kernel/kgdb.c              |    3 -
 arch/powerpc/include/asm/thread_info.h  |   13 ------
 arch/powerpc/kernel/process.c           |   31 --------------
 arch/score/include/asm/thread_info.h    |   10 +---
 arch/sh/include/asm/thread_info.h       |   11 -----
 arch/sh/kernel/process.c                |   46 ---------------------
 arch/sparc/Kconfig                      |    1 
 arch/sparc/include/asm/thread_info_32.h |    2 
 arch/sparc/include/asm/thread_info_64.h |   25 -----------
 arch/tile/include/asm/thread_info.h     |    6 --
 arch/tile/kernel/process.c              |   23 ----------
 arch/x86/include/asm/boot.h             |    2 
 arch/x86/include/asm/page_32_types.h    |    4 -
 arch/x86/include/asm/page_64_types.h    |    4 -
 arch/x86/include/asm/thread_info.h      |   21 ---------
 arch/x86/kernel/irq_32.c                |    8 +--
 arch/x86/kernel/process.c               |    5 --
 include/linux/thread_info.h             |    6 ++
 kernel/fork.c                           |   69 ++++++++++++++++++++++----------
 31 files changed, 100 insertions(+), 335 deletions(-)