Changed shared library loading strategy on PPC, why?
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Mon Jun 18 01:52:00 GMT 2001
At 10:29 18.06.2001, Andreas Jaeger wrote:
>Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
>
> > Hi,
> >
> > it seems someone changed the library loading strategy on PPC, which
> > certainly has a performance impact. So I would like to know why this
> > had been done and if it was done on purpose at all.
> >
> >
> > On PPC before the change the address scheme was like that:
> >
> > executable at 0x10000000
> > shared lib first load below that, and if that space runs out, loading
> > continues below 0x70000000.
> >
> >
> > Now, it seems that loading starts immediately below 0x70000000,
> > leaving the space with optimal relocations below 0x10000000 unused.
>
>Are you sure that this is not a "feature" of a new kernel? The kernel
>allocates the mmaped areas for glibc.
Hmm, maybe. But I seem to remember that this part of the allocation
strategy is done in glibc. I maybe wrong though...
Franz.
More information about the Libc-alpha
mailing list