[PATCH v6 00/23] Handle ld.so with LOAD segment gaps in _dl_find_object (bug 31943)

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Sun Jul 20 23:03:00 GMT 2025



On 19/07/25 10:52, Florian Weimer wrote:
> * Florian Weimer:
> 
>> This repost fixes a loongarch issue due overly large page sizes in the
>> default toolchain (by overrding that for ld.so), and resolves the sparc
>> multlib header issue.
> 
> I'm withdrawing this patch series.  There's a widespread issue with
> emulation, which makes fixing page sizes undesirable.  Furthermore, on
> some architectures/implementations (notably AMD Zen), page size as an
> allocation optimization does not quite work because there is page
> coalescing.  With coalescing, in many cases, the large allocation
> granule should not be the page size, but the size used for coalescing.
> But that is not constant and can change from implementation to
> implementation.

Are you referring to AMD Zen PTE Coalescing? If so, afaik this should
be transparent to user/kernel; although there are some indication that 
using a page size larger than default on ELF segments might be more
effective to enable it;

And are you withdrawing the whole series, which adds the bits/pagesize.h;
or just the potential fix for BZ#31943? The bits/pagesize.h does seems a
good addition, and Tulio as ping the previous patch due some interest
in using it.


More information about the Libc-alpha mailing list