Re: [PATCH 2/8] selftests/mm: check that MADV_PAGEOUT skips holes and swapped pages
From: Sarthak Sharma
Date: Mon Oct 19 2026 - 01:01:02 EST
On 10/14/26 11:27 PM, Gregory Price (Meta) wrote:
> The contract tests check that MADV_COLD neither populates a PTE hole nor
> faults a swapped page back in. MADV_PAGEOUT makes the same promises, so
> check them for it too.
>
> Signed-off-by: Gregory Price (Meta) <gourry@xxxxxxxxxx>
> ---
> tools/testing/selftests/mm/madvise.c | 10 ++++++++++
> 1 file changed, 10 insertions(+)
LGTM.
Reviewed-by: Sarthak Sharma <sarthak.sharma@xxxxxxx>