[PATCH v5 02/23] Prepare for the addition of the <sys/pagesize.h> header
Florian Weimer
fweimer@redhat.com
Fri May 16 17:57:54 GMT 2025
* Joseph Myers:
> On Fri, 16 May 2025, Florian Weimer wrote:
>
>> Add a stub version of <bits/pagesize.h>. This header is similar to
>> <bits/wordsize.h> in that every port must define its own version.
>>
>> Add <sys/pagesize.h>, which will become the installed version
>> of this header. PAGE_SIZE_MIN and PAGE_SIZE_MAX have type long
>> int, so that roundup (offset, PAGE_SIZE_MAX) gives the correct
>> result if offset has type off64_t on 32-bit architectures.
>> (With an unsigned type for PAGE_SIZE_MAX, the roundup macro
>> does not work as expected if the first argument is wider than
>> the second argument.)
>
> Is the header installation intended to happen in a separate patch series,
> or did I miss a patch in this series that adds the two new headers to some
> relevant Makefile to be installed?
This was part of a previous series:
[PATCH v3 25/29] Install the <sys/pagesize.h> header file
<https://inbox.sourceware.org/libc-alpha/cce1fcc9785e01c0c4c7198dae073d9d434ca92f.1727624528.git.fweimer@redhat.com/>
I've trimmed the series because there were questions about the latter
parts. I plan to resubmit the rest during this cycle.
Thanks,
Florian
More information about the Libc-alpha
mailing list