[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#741243: [PATCH] localedef fix on hppa architecture



Hello Aurelien,

On 05/08/2014 01:06 AM, Aurelien Jarno wrote:
>> could you please add this patch temporarily to the debian eglibc sources?
> 
> I don't really understand why changing the alignment from 4MB to 4kB
> will make the file mmapped at the same location. 

It's due to how the mmap logic was developed in glibc.
Current logic will round the map-address up to the next SHMLBA alignment which may be 
wrong on parisc since the platform has specific hardware cache constraints
which renders shared mappings then possibly not being in sync between different CPUs. 

> Anyway, in that case
> instead of modifying a generic file common to all architecture, you
> should create a <ports/sysdeps/hppa/libc-mmap.h> with the HPPA specific
> value.

True.

> Now that patch local-shmlba.diff from bug #725508 has been applied, is
> this patch still needed?

That's correct. This patch here is not needed any longer then.
You can just close this bug report (or mark it as duplicate of #725508).

Thanks!
Helge


Reply to: