Re: [PATCH 1/2] mm: replace custom bad page map ratelimiting logic
From: David Hildenbrand (Arm)
Date: Wed Aug 12 2026 - 03:46:35 EST
On 8/11/26 19:21, Pedro Falcato wrote:
> The current logic (allow up to $BURST prints per minute) can be entirely
> replaced by the generic version in lib/ratelimit.c, used around the kernel.
>
> Do so. The only functional difference should be that the new logs will
> read something like:
>
> KERN_WARNING "print_bad_page_map: %d callbacks suppressed\n", ...
>
> But that should be fine enough.
>
> Signed-off-by: Pedro Falcato <pfalcato@xxxxxxx>
> ---
Well that's nice!
Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
--
Cheers,
David