Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1186682

[PATCH 0/2] x86/fpu: Fix FPU context sizing boot regression, introduce dynamic task_struct

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 0/2] x86/fpu: Fix FPU context sizing boot regression, introduce dynamic task_struct
Date 2015-07-17 12:30 +0200
Message-ID <pNb3X-2EK-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 0/2] x86/fpu: Fix FPU context sizing boot regression, introduce dynamic task_struct Ingo Molnar <mingo@kernel.org> - 2015-07-17 12:30 +0200

csiph-web