[PATCH v8 09/10] selftests/mm/cow: Generalize do_run_with_thp() helper
David Hildenbrand
david at redhat.com
Tue Dec 5 01:59:55 PST 2023
On 04.12.23 11:20, Ryan Roberts wrote:
> do_run_with_thp() prepares (PMD-sized) THP memory into different states
> before running tests. With the introduction of multi-size THP, we would
> like to reuse this logic to also test those smaller THP sizes. So let's
> add a thpsize parameter which tells the function what size THP it should
> operate on.
>
> A separate commit will utilize this change to add new tests for
> multi-size THP, where available.
>
> Signed-off-by: Ryan Roberts <ryan.roberts at arm.com>
> ---
Reviewed-by: David Hildenbrand <david at redhat.com>
--
Cheers,
David / dhildenb
More information about the linux-arm-kernel
mailing list