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?


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.

Andreas

> 
> This behavior wasn't there on May 5, so this must be a recent change
> triggering this, but I didn't see something obvious in the ChangeLogs.
> 
> 
> Franz.
> 

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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