From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757788AbbGQK2q (ORCPT ); Fri, 17 Jul 2015 06:28:46 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:37378 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757369AbbGQK2o (ORCPT ); Fri, 17 Jul 2015 06:28:44 -0400 From: Ingo Molnar To: linux-kernel@vger.kernel.org Cc: Andy Lutomirski , Andrew Morton , Dave Hansen , Denys Vlasenko , Brian Gerst , Peter Zijlstra , Borislav Petkov , "H. Peter Anvin" , Linus Torvalds , Oleg Nesterov , Thomas Gleixner Subject: [PATCH 0/2] x86/fpu: Fix FPU context sizing boot regression, introduce dynamic task_struct Date: Fri, 17 Jul 2015 12:28:10 +0200 Message-Id: <1437128892-9831-1-git-send-email-mingo@kernel.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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