Re: [PATCH] x86/mm: Fix log overwrite in CPA check_conflict()
From: Peter Zijlstra
Date: Fri Jun 20 2025 - 05:02:15 EST
On Thu, Jun 19, 2025 at 05:42:41PM +0000, Khalid Ali wrote:
> From: Khalid Ali <khaliidcaliy@xxxxxxxxx>
>
> On certain configurations (e.g. custom builds), check_conflict()
> may produce a large number of warnings, flooding the kernel log
> and overwriting earlier messages.
>
> Observed warning:
>
> CPA protect Rodata RO: 0xffff888022a75000 - 0xffff888022a75fff
> PFN 22a75 req 8000000000000023 prevent 0000000000000002
That's not good. Your system is sick, limiting the warns isn't making
that better.