From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [RFC PATCH REBASED 2/3] x86: Move fpu_counter into ARCH specific thread_struct Date: Mon, 23 Sep 2013 10:33:16 +0200 Message-ID: <20130923083316.GB10891@gmail.com> References: <1379398639-27403-1-git-send-email-vgupta@synopsys.com> <1379398639-27403-3-git-send-email-vgupta@synopsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-ea0-f173.google.com ([209.85.215.173]:50824 "EHLO mail-ea0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753171Ab3IWIdU (ORCPT ); Mon, 23 Sep 2013 04:33:20 -0400 Received: by mail-ea0-f173.google.com with SMTP id g10so1545083eak.32 for ; Mon, 23 Sep 2013 01:33:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1379398639-27403-3-git-send-email-vgupta@synopsys.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Vineet Gupta Cc: Ingo Molnar , Peter Zijlstra , Andrew Morton , linux-arch@vger.kernel.org * Vineet Gupta wrote: > Only a couple of arches (sh/x86) use fpu_counter in task_struct so it > can be moved out into ARCH specific thread_struct, reducing the size of > task_struct for other arches. > > Compile tested i386_defconfig + gcc 4.7.3 > > Signed-off-by: Vineet Gupta > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Peter Zijlstra > Cc: "H. Peter Anvin" > Cc: x86@kernel.org > Cc: Suresh Siddha > Cc: Borislav Petkov > Cc: Vincent Palatin > Cc: Len Brown > Cc: Al Viro > Cc: Paul Gortmaker > Cc: Pekka Riikonen > Cc: Andrew Morton > Cc: Dave Jones > Cc: Frederic Weisbecker > Cc: "Paul E. McKenney" > Cc: linux-kernel@vger.kernel.org > --- > arch/x86/include/asm/fpu-internal.h | 10 +++++----- > arch/x86/include/asm/processor.h | 9 +++++++++ > arch/x86/kernel/i387.c | 2 +- > arch/x86/kernel/process_32.c | 4 ++-- > arch/x86/kernel/process_64.c | 2 +- > arch/x86/kernel/traps.c | 2 +- > 6 files changed, 19 insertions(+), 10 deletions(-) Acked-by: Ingo Molnar Thanks, Ingo