Re: [RFC v3 3/3] ktest: sys_move_phys_pages ktest

From: Matthew Wilcox
Date: Tue Mar 19 2024 - 14:20:50 EST


On Tue, Mar 19, 2024 at 02:14:33PM -0400, Gregory Price wrote:
> On Tue, Mar 19, 2024 at 05:52:46PM +0000, Matthew Wilcox wrote:
> > On Tue, Mar 19, 2024 at 01:26:09PM -0400, Gregory Price wrote:
> > > Implement simple ktest that looks up the physical address via
> > > /proc/self/pagemap and migrates the page based on that information.
> >
> > What? LOL. No.
> >
>
> Certainly the test is stupid and requires admin, but I could not
> come up an easier test to demonstrate the concept - and the docs
> say to include a test with all syscall proposals.
>
> Am I missing something else important?
> (stupid question: of course I am, but alas I must ask it)

It's not that the test is stupid. It's the concept that's stupid.