Re: [PATCH v6 5/5] selftests/mm: add UFFDIO_MOVE ioctl test

From: John Hubbard
Date: Wed Dec 13 2023 - 17:02:01 EST


On 12/13/23 01:59, David Hildenbrand wrote:
...
Another variation though, would be to run "make headers", and snapshot
some of those files into tools/include.

^ this is what I had in mind

If you're writing a test that needs some new fancy thing, update the relevant header.


OK, and Mark Brown's nearby response [1] supports that, as well.

Thus fortified, I plan on doing the following steps:

Step 1: Do nothing about the revert patch that I sent earlier, thus
allowing it to continue in its journey (so far, Andrew has moved it into
mm-hotfixes-stable branch).

Step 2: Send out a patch for a modest part of selftests/mm, that uses
this latest approach, and see how it fares in reviews.

[1] https://lore.kernel.org/c0aa00a2-38a5-42da-9951-64131d936f7e@xxxxxxxxxxxxx


thanks,
--
John Hubbard
NVIDIA