[PATCH v2 0/3] kfence: fix pool allocation failure handling

Andrew Morton akpm at linux-foundation.org
Thu Oct 29 18:26:45 PDT 2026


On Thu, 29 Oct 2026 10:57:40 +0800 Jackie Liu <liu.yun at linux.dev> wrote:

> Fix the cleanup address and page reuse window in failed late KFENCE
> initialization. Also let RISC-V boot if the early pool reservation fails.
> 
> Patch 2 depends on patch 1. Patch 3 can be applied independently.

Thanks.

We're all horridly busy with bugfixes at present and the first thing
recipients think when presented with yet another is "why should I look
at this".

So it really helps to start out with a succinct and punchy sentence
which explains that thing.

LLM suggested to me

: KFENCE initialization failures can cause kernel crashes or memory
: corruption, while a RISC-V failure can prevent the system from booting.
: These fixes make the failure paths safe and allow systems to continue
: running with KFENCE disabled.

How does that sound?



More information about the linux-riscv mailing list