[LTP] [PATCH] hugemmap10: Add linux-git tag for NUMA fix
Huaisheng Ye
yehuaisheng@open-hieco.net
Wed Nov 18 03:02:08 CET 2026
On 11/16/2026 8:52 PM, Cyril Hrubis wrote:
> Hi!
>> +/*
>> + * This test also covers the NUMA regression fixed by Linux commit
>> + * 21f514ad520459fbfa58ccdf171bb68148c2f5aa. If free huge pages are outside
>> + * the nodes allowed by the task's cpuset or MPOL_BIND policy, hugetlb must
>> + * account for the allowed-node shortfall when gathering surplus pages.
>> + * Otherwise mmap() may fail with ENOMEM even when nr_overcommit_hugepages
>> + * permits allocating surplus pages on the allowed nodes.
>> + *
>> + * The issue can be exercised on a system with two or more NUMA nodes, for
>> + * example with:
>> + *
>> + * numactl --cpunodebind=0 --membind=1 ./hugemmap10
> If nothing else, this text should be part of the doc comment just above
> it so that it's properly exported to documentation.
Got it.
> Also if the test needs to be bind to specific nodes to reproduce the
> problem, it would make sense (in a separate patch) to add a subtest to
> the test so that we can test it properly.
>
Noted for later action, thanks.
Huaisheng Ye
More information about the ltp
mailing list