Re: [PATCH 1/2] mm: replace custom bad page map ratelimiting logic
From: Johannes Weiner
Date: Tue Aug 11 2026 - 15:13:15 EST
On Tue, Aug 11, 2026 at 06:21:55PM +0100, 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>
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>