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

From: Andi Kleen
Date: Fri Apr 16 2010 - 07:41:10 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
>
> Yes, the linker scrambles the executable's block ordering.
>
> 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.

My understanding was that this is usually gone when you use a delayed
allocation fs (xfs, ext4), unless your link sequence takes much longer
than the flush window.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/