[PATCH] support: Skip malloc hugetlb={1, 2} variants when kernel cannot honor them
DJ Delorie
dj@redhat.com
Tue May 26 23:26:03 GMT 2026
Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> writes:
>> There's nothing in here that is linux-specific at compile time, might as
>> well leave it unconditional.
>
> Alright, although the sysfs is really a Linux interface.
Sure, but it's a file, and it just doesn't exist elsewhere, so fopen()
is sufficient to "test" for it. And there's no reason why non-Linux
devs couldn't just make a plain file there to test their
contributions...
More information about the Libc-alpha
mailing list