On Wed, 17 Sep 2025 21:31:37 +0800 Lance Yang <lance.y...@linux.dev> wrote:
> The madv_populate and soft-dirty kselftests currently fail on systems where > CONFIG_MEM_SOFT_DIRTY is disabled. > > Introduce a new helper softdirty_supported() into vm_util.c/h to ensure > tests are properly skipped when the feature is not enabled. It's pretty sad for us to ship kernels which have known selftest flaws like this. would Fixes: 9f3265db6ae8 ("selftests: vm: add test for Soft-Dirty PTE bit") be appropriate?