[PATCH v3 00/29] Teach glibc about possible page sizes and handle gaps in ld.so
Florian Weimer
fweimer@redhat.com
Mon Sep 30 09:19:11 GMT 2024
* H. J. Lu:
>> Optimize various ways to obtain the page size using <bits/pagesize.h>
>
> Should pagesize.h files have a copyright notice? How many pagesize.h files
> are identical? Should the most common ones be shared?
There's already a copyright notice in <sys/pagesize.h>. Other very
short bits/ headers do not have copyright notices, either, so I didn't
think one was necessary here.
Sharing files is hard. We could set the default at 4 KiB pages (only),
which would avoid the need for some files, but we then lose the reminder
to new port authors that they need to think about future page size
ranges, especially if there are no test failures because the initial
test system has 4 KiB pages.
Thanks,
Florian
More information about the Libc-alpha
mailing list