Re: [patch 2/2] x86, fpu: lazy allocation of FPU area - v3

From: Pavel Machek
Date: Thu Mar 06 2008 - 16:21:18 EST


On Thu 2008-03-06 11:26:53, Suresh Siddha wrote:
> 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.

Aha, now I see it is useful ;-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/