[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <737310eb-05e5-4234-af67-9118b3f395ab@sirena.org.uk>
Date: Tue, 20 Jan 2026 17:46:20 +0000
From: Mark Brown <broonie@...nel.org>
To: Miaohe Lin <linmiaohe@...wei.com>
Cc: akpm@...ux-foundation.org, shuah@...nel.org, david@...nel.org,
lorenzo.stoakes@...cle.com, Liam.Howlett@...cle.com, vbabka@...e.cz,
rppt@...nel.org, surenb@...gle.com, mhocko@...e.com,
nao.horiguchi@...il.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH v2 1/3] selftests/mm: add memory failure anonymous page
test
On Tue, Jan 20, 2026 at 08:32:37PM +0800, Miaohe Lin wrote:
> +# Try to load hwpoison_inject if not present.
> +HWPOISON_DIR=/sys/kernel/debug/hwpoison/
> +if [ ! -d "$HWPOISON_DIR" ]; then
> + if ! modprobe -q -R hwpoison_inject; then
> + echo "Module hwpoison_inject not found, skipping..."
> + else
> + modprobe hwpoison_inject > /dev/null 2>&1
> + LOADED_MOD=1
> + fi
> +fi
You should also add HWPOISION_INJECT and likely also MEMORY_FAILURE
(which it depends on) to the config fragment in
tools/testing/selftests/mm/config
so people and tools know the config options are needed to get all the
tests running.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists