Re: [PATCH] selftests/mm: Specify requirement for PROC_MEM_ALWAYS_FORCE=y

Mark Brown
2026-04-16T19:10:59Z

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

On Thu, Apr 16, 2026 at 09:05:11PM +0200, David Hildenbrand (Arm) wrote:
> On 4/16/26 20:40, Mark Brown wrote:

> > Several of the mm selftests made use of /proc/pid/mem as part of their
> > operation but we do not specify this in the config fragment for them, at
> > least mkdirty and ksm_functional_tests have this requirement.

> I guess we could teach most tests to SKIP if /proc/pid/mem is unusable.

That would be nicer, yes. I imagine some of these will predate there
being a configuration option here at all, it's possible there's newer
tests that skip cleanly - I didn't look at the skips.

> Acked-by: David Hildenbrand (Arm) <david@kernel.org>

Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]