]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ratelimit: Don't flush misses counter if RATELIMIT_MSG_ON_RELEASE
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 10 Apr 2025 21:37:31 +0000 (14:37 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 8 May 2025 23:13:27 +0000 (16:13 -0700)
commit21ac6e5edac569df3938b136471c59c1d3d01f09
treee9c24b0cd4a624bbacdb8ba605d44d37d4c75fd6
parentaa2cc356f8791438761efa0cb95fd48f3e2721c2
ratelimit: Don't flush misses counter if RATELIMIT_MSG_ON_RELEASE

Restore the previous semantics where the misses counter is unchanged if
the RATELIMIT_MSG_ON_RELEASE flag is set.

Link: https://lore.kernel.org/all/fbe93a52-365e-47fe-93a4-44a44547d601@paulmck-laptop/
Link: https://lore.kernel.org/all/20250423115409.3425-1-spasswolf@web.de/
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Kuniyuki Iwashima <kuniyu@amazon.com>
Cc: Mateusz Guzik <mjguzik@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
lib/ratelimit.c