This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Changed shared library loading strategy on PPC, why?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]