Re: [PATCH v7 4/6] tools/mm: move gup_test from selftests/mm to tools/mm
From: David Hildenbrand (Arm)
Date: Mon Aug 24 2026 - 08:40:04 EST
On 8/13/26 20:12, Sarthak Sharma wrote:
> Move tools/testing/selftests/mm/gup_test.c to tools/mm/gup_bench.c.
> This is the first step in separating its benchmarking and
> functional testing components. Later patches will make this a
> purely benchmarking tool and introduce a new functional selftest
> under selftests/mm.
>
> Include hugepage_settings.h directly instead of vm_util.h and
> use getpagesize() instead of psize().
>
> Adjust the Makefiles in both locations and add gup_bench to
> tools/mm/.gitignore. Remove the gup_test invocations from
> run_vmtests.sh and update MAINTAINERS.
>
> Suggested-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
> Signed-off-by: Sarthak Sharma <sarthak.sharma@xxxxxxx>
> ---
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David