Re: maximum memory limit

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Mon Jul 03 2000 - 10:01:36 EST


Stephen C. Tweedie wrote:
> > There are lots of custom malloc libraries. If you're going to teach
> > Glibc something anyway, why not add a new mmap flag?
>
> Because by the time glibc has been loaded, it's too late! We need the
> crt0.o stub to load libdl.so lower in memory or we have already
> clobbered the address space irretrievably.

?? /lib/ld-linux.so.2 is loaded by the kernel so you can easily changed
the way it is mapped. Everything from there on is part of Glibc.

The only exception is statically linked binaries, and they're not going
to switch to a new malloc anyway.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:12 EST