[PATCH v2] support: Align the repeated blob mappings to SHMLBA
Stian Halseth
stian@itx.no
Tue Nov 3 13:09:47 GMT 2026
On Tue, 2026-11-03 at 14:07 +0100, Stian Halseth wrote:
> Hi Andreas,
>
> On Tue, 2026-11-03 at 13:14 +0100, Andreas Schwab wrote:
> > On Nov 03 2026, Stian Halseth wrote:
> >
> > > I tried now using MAX (page_size, SHMLBA), since some targets define
> > > SHMLBA as
> > > a constant that can be smaller than a large page.
> >
> > I expect SHMLBA to always match the value used by the kernel. If it
> > doesn't I'd consider that a bug in the port.
> >
>
> Agreed, and hppa looks like such a bug: glibc has 0x1000 while the
> kernel uses PAGE_SIZE, which can be 16K or 64K.
>
> sh matches the kernel at 0x4000, but SH-4 can use 64K pages, so with
> plain SHMLBA the stride would not be a page multiple.
>
(Follow up / clarification): Do you still want to change that in v3?
/Stian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20261103/82fac872/attachment.sig>
More information about the Libc-alpha
mailing list