summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPedro Falcato <pfalcato@suse.de>2026-08-11 18:21:55 +0100
committerAndrew Morton <akpm@linux-foundation.org>2026-10-06 17:39:09 -0700
commit0c39f49a22bf39c0077e9939fda3c8afb889c3cd (patch)
tree5f534beb6bcfce07b63bb03a0a3d4f60a68fc7dc /include
parentabef8c99527a2e8deb41e9b814a920580c49eff5 (diff)
mm: replace custom bad page map ratelimiting logic
Patch series "mm: replace custom ratelimiting logic". The kernel has a perfectly cromulent and mostly-equivalent variant in lib/ratelimit.c that can be used. This patch (of 2): 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. Link: https://lore.kernel.org/20260811172156.356053-1-pfalcato@suse.de Link: https://lore.kernel.org/20260811172156.356053-2-pfalcato@suse.de Signed-off-by: Pedro Falcato <pfalcato@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Zi Yan <ziy@nvidia.com> Reviewed-by: SJ Park <sj@kernel.org> Acked-by: David Hildenbrand (Arm) <david@kernel.org> Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org> Acked-by: Vlastimil Babka (SUSE) <vbabka@kernel.org> Acked-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Cc: Brendan Jackman <brendan.jackman@linux.dev> Cc: Liam R. Howlett <liam@infradead.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions