Re: Downsides to madvise/fadvise(willneed) for application startup

From: Andrew Morton
Date: Thu Apr 15 2010 - 19:44:33 EST


On Thu, 15 Apr 2010 17:21:25 -0600 Zan Lynx <zlynx@xxxxxxx> wrote:

> On 4/15/10 4:53 PM, Andrew Morton wrote:
>
> > This just isn't an interesting case. World-wide, the number of people
> > who compile their own web browser and execute it from the file which ld
> > produced is, umm, seven.
>
> Gentoo users? Linux From Scratch?
>
> There are many more than 7 of us. Unless you are talking about the build
> environments always running some tool after ld which I am not aware of.
>

OK, eight then.

But I still don't think it's the case we should optimise for. Not if
it impacts the common case even the slightest. It'd be far far better
to change those distros to perform the very cheap, once-off step of
straightening out their executables (including shared libraries).

--
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/