This series builds on top of Dave Hansen's initial patch that introduced
dynamic task_struct sizing.
The second patch improves the dynamic allocation to not impact non-x86
architectures,
and to make it a bit faster on x86.
( I kept the structure layout build checks in x86 code for the time being,
because some of the cross-builds failed with the generic check and I didn't
want to introduce a bigger cross section for any failures. And it's not like
we'll apply generic sched.h changes without testing x86. )
Thanks,
Ingo
==========================>
Dave Hansen (1):
x86/fpu, fork: Dynamically allocate 'struct fpu'
Ingo Molnar (1):
x86/fpu, sched: Introduce CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT and
use it on x86
arch/Kconfig | 4 ++++
arch/x86/Kconfig | 1 +
arch/x86/include/asm/fpu/types.h | 72
++++++++++++++++++++++++++++++++----------------------------
arch/x86/include/asm/processor.h | 10 ++++++---
arch/x86/kernel/fpu/init.c | 40 +++++++++++++++++++++++++++++++++
arch/x86/kernel/process.c | 2 +-
fs/proc/kcore.c | 4 ++--
include/linux/sched.h | 16 ++++++++++++--
kernel/fork.c | 7 +++++-
9 files changed, 113 insertions(+), 43 deletions(-)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/