Re: [PATCH 0/2] mm: replace custom ratelimiting logic
From: Mike Rapoport
Date: Wed Aug 12 2026 - 09:32:28 EST
On Tue, Aug 11, 2026 at 06:21:54PM +0100, Pedro Falcato wrote:
> The kernel has a perfectly cromulent and mostly-equivalent variant in
> lib/ratelimit.c that can be used.
>
> To: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> To: David Hildenbrand <david@xxxxxxxxxx>
> Cc: Lorenzo Stoakes <ljs@xxxxxxxxxx>
> Cc: "Liam R. Howlett" <liam@xxxxxxxxxxxxx>
> Cc: Vlastimil Babka <vbabka@xxxxxxxxxx>
> Cc: Mike Rapoport <rppt@xxxxxxxxxx>
> Cc: Suren Baghdasaryan <surenb@xxxxxxxxxx>
> Cc: Michal Hocko <mhocko@xxxxxxxx>
> Cc: Brendan Jackman <brendan.jackman@xxxxxxxxx>
> Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
> Cc: Zi Yan <ziy@xxxxxxxxxx>
> Cc: linux-mm@xxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
>
> Pedro Falcato (2):
> mm: replace custom bad page map ratelimiting logic
> mm/page_alloc: replace custom bad page ratelimiting logic
For the series:
Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
> mm/memory.c | 30 +++---------------------------
> mm/page_alloc.c | 28 +++++-----------------------
> 2 files changed, 8 insertions(+), 50 deletions(-)
>
> --
> 2.55.0
>
--
Sincerely yours,
Mike.