[PATCH v5 02/23] Prepare for the addition of the <sys/pagesize.h> header
Joseph Myers
josmyers@redhat.com
Fri May 16 17:18:05 GMT 2025
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?
--
Joseph S. Myers
josmyers@redhat.com
More information about the Libc-alpha
mailing list