x86/fpu, sched: Introduce CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT and use it on x86
authorIngo Molnar <[email protected]>
Fri, 17 Jul 2015 10:28:12 +0000 (12:28 +0200)
committerIngo Molnar <[email protected]>
Sat, 18 Jul 2015 01:42:51 +0000 (03:42 +0200)
commit5aaeb5c01c5b6c0be7b7aadbf3ace9f3a4458c3d
tree8cf45cdd6647d1067d94aaad64598a7728f15d6b
parent0c8c0f03e3a292e031596484275c14cf39c0ab7a
x86/fpu, sched: Introduce CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT and use it on x86

Don't burden architectures without dynamic task_struct sizing
with the overhead of dynamic sizing.

Also optimize the x86 code a bit by caching task_struct_size.

Acked-and-Tested-by: Dave Hansen <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/Kconfig
arch/x86/Kconfig
arch/x86/kernel/fpu/init.c
arch/x86/kernel/process.c
fs/proc/kcore.c
include/linux/sched.h
kernel/fork.c