Re: [PATCH 1/1] mm/pgtable/debug: Add test validating architecture page table helpers

From: Dave Hansen
Date: Wed Sep 04 2019 - 19:14:11 EST

On 9/3/19 1:01 AM, Anshuman Khandual wrote:
> This adds a test module which will validate architecture page table helpers
> and accessors regarding compliance with generic MM semantics expectations.
> This will help various architectures in validating changes to the existing
> page table helpers or addition of new ones.

This looks really cool. The "only" complication on x86 is the large
number of compile and runtime options that we have. When this gets
merged, it would be really nice to make sure that the 0day guys have
good coverage of all the configurations.

I'm not _quite_ sure what kind of bugs it will catch on x86 and I
suspect it'll have more value for the other architectures, but it seems
harmless enough.