Re: 2.5.64-mm6

From: Andrew Morton (akpm@digeo.com)
Date: Thu Mar 13 2003 - 14:34:48 EST


Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>
> On Thu, 2003-03-13 at 03:26, Andrew Morton wrote:
> > This means that when an executable is first mapped in, the kernel will
> > slurp the whole thing off disk in one hit. Some IO changes were made to
> > speed this up.
>
> Does this just pull in text and data, or will it pull any debug sections
> too? That could fill memory with a lot of useless junk.
>

Just text, I expect. Unless glibc is mapping debug info with PROT_EXEC ;)

It's just a fun hack. Should be done in glibc.

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



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:36 EST