On 09/09/25 11:45 am, Dev Jain wrote:
> This patchset ensures that the number of hugepages is correctly set in the
> system so that the uffd-stress test does not fail due to the racy nature of
> the test. Patch 1 changes the hugepage constraint in the run_vmtests.sh
> script, whereas patch 2 changes the constraint in the test itself.
>
> ---
Missed the changelog:
v1->v2:
Compute adjustment as a function of the number of threads
v1:
https://lore.kernel.org/all/20250826070705.53841-1-dev.jain@arm.com/
> Based on 6.17-rc5.
>
> Dev Jain (2):
> selftests/mm/uffd-stress: make test operate on less hugetlb memory
> selftests/mm/uffd-stress: stricten constraint on free hugepages needed
> before the test
>
> tools/testing/selftests/mm/run_vmtests.sh | 10 +++++++---
> tools/testing/selftests/mm/uffd-stress.c | 17 +++++++++++------
> 2 files changed, 18 insertions(+), 9 deletions(-)
>