[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: maximum memory limit
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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/