Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933496AbYCFT1v (ORCPT ); Thu, 6 Mar 2008 14:27:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757378AbYCFT1i (ORCPT ); Thu, 6 Mar 2008 14:27:38 -0500 Received: from mga03.intel.com ([143.182.124.21]:48235 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760270AbYCFT1h (ORCPT ); Thu, 6 Mar 2008 14:27:37 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.25,457,1199692800"; d="scan'208";a="215644672" Date: Thu, 6 Mar 2008 11:26:53 -0800 From: Suresh Siddha To: Pavel Machek Cc: Suresh Siddha , mingo@elte.hu, hpa@zytor.com, tglx@linutronix.de, andi@firstfloor.org, hch@infradead.org, linux-kernel@vger.kernel.org, Arjan van de Ven Subject: Re: [patch 2/2] x86, fpu: lazy allocation of FPU area - v3 Message-ID: <20080306192653.GI28006@linux-os.sc.intel.com> References: <20080303230335.892214000@linux-os.sc.intel.com> <20080303230336.042604000@linux-os.sc.intel.com> <20080305194801.GB4386@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080305194801.GB4386@ucw.cz> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 882 Lines: 23 On Wed, Mar 05, 2008 at 08:48:01PM +0100, Pavel Machek wrote: > On Mon 2008-03-03 15:02:46, Suresh Siddha wrote: > > Only allocate the FPU area when the application actually uses FPU, i.e., in the > > first lazy FPU trap. This could save memory for non-fpu using apps. > > How many such apps are on your system, and how much does this > 'optimalization' cost? On a normal kernel boot, where there are 200 or so tasks running, only 20 or so apps seem to be using FPU. > ISTR glibc always using FPU...? Apparently not, alteast not on my system. And also going forward, as we extend this state, thought is nice to have. thanks, suresh -- 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/