Thread (14 messages) 14 messages, 4 authors, 5d ago

Re: [PATCH v10 6/6] selftests/mm: add hwpoison-panic destructive test

From: Mike Rapoport <rppt@kernel.org>
Date: 2026-07-06 16:23:50
Also in: linux-doc, linux-kselftest, linux-mm, lkml

On Mon, Jul 06, 2026 at 09:14:22AM -0700, Breno Leitao wrote:
Hello Mike,

On Sat, Jul 04, 2026 at 12:31:26PM +0300, Mike Rapoport wrote:
quoted
On Tue, Jun 30, 2026 at 05:46:09AM -0700, Breno Leitao wrote:
quoted
I'm looking at these awk scripts and od encodings and I wonder if wasn't it
simpler to write the test in C.

We have a bunch of helpers in tools/testing/selftests/mm/vm_utils.h for
accessing /proc files and there is already /proc/iomem parser in
tools/testing/selftests/mm/pfnmap.c that also could be lifter to vm_util
I'm fine with either approach.

My main concern is keeping the selftest decoupled from the feature
itself, so that review of the test doesn't block the feature from
landing. Would that work for you?
Sure.
 
Thanks
--breno
-- 
Sincerely yours,
Mike.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help