Re: [PATCH v3 2/3] mm/memory-failure: add CONFIG_BOOTPARAM_MEMORY_FAILURE_PANIC option
From: Breno Leitao
Date: Tue Apr 14 2026 - 06:34:25 EST
On Mon, Apr 13, 2026 at 06:26:34AM -0700, Breno Leitao wrote:
> +config BOOTPARAM_MEMORY_FAILURE_PANIC
> + bool "Panic on unrecoverable memory failure"
> + depends on MEMORY_FAILURE
> + help
> + Say Y here to panic when an unrecoverable memory failure is
> + detected. This covers kernel pages, high-order kernel pages,
> + and unknown page types that cannot be recovered. Can be disabled
> + at runtime via the panic_on_unrecoverable_memory_failure sysctl.
After considering Linus's recent feedback on kernel configuration
complexity, I'm reconsidering this approach. He recently emphasized:
"The kernel config phase is probably one of the biggest pain points for
random new people trying to build their own kernels, and we DO NOT ASK
PEOPLE STUIPID THINGS." --Linus
https://lore.kernel.org/all/CAHk-=whigg3hvOy7c1j1MXFy6o6CHp0g4Tc3Y-MAk+XDssHU0A@xxxxxxxxxxxxxx/
I will respin a new version, dropping this patch from the series to keep Linus’
blood pressure in check.
--breno