Re: [PATCH v3 2/2] selftests/mm: add tests for UFFDIO_MOVE of a uffd-protected swap entry

From: Donggeun Yoo

Date: Mon Sep 28 2026 - 20:20:35 EST


On Mon, 28 Sep 2026 11:11:50 +0200, David Hildenbrand (Arm) wrote:
> Why not combine it with the protection?

Will do.

> Why not do that at the very top?

Will do.

> You can set that all already when initializing aboce

Will do.

> BTW, why do we fail the entire test here instead of only this test case?

I did that because the test is about the bit after the move, not the move
itself, so a failing move is closer to a setup failure. I thought it was
better to stop there and let whoever runs it check their environment
before running the rest.

But having gone through the file's history, I see the direction has been
to skip or fail just that one test and keep the rest running. I'll change
it in v4.

Thanks for the review!

Donggeun