]> www.infradead.org Git - users/willy/linux.git/commitdiff
docs: kernel: Clarify printk_ratelimit_burst reset behavior
authorBreno Leitao <leitao@debian.org>
Mon, 14 Jul 2025 12:06:27 +0000 (05:06 -0700)
committerJonathan Corbet <corbet@lwn.net>
Thu, 17 Jul 2025 19:47:27 +0000 (13:47 -0600)
Add clarification that the printk_ratelimit_burst window resets after
printk_ratelimit seconds have elapsed, allowing another burst of
messages to be sent. This helps users understand that the rate limiting
is not permanent but operates in periodic windows.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20250714-docs_ratelimit-v1-1-51a6d9071f1a@debian.org
Documentation/admin-guide/sysctl/kernel.rst

index f1b2ab219a080d8a58b3c0b63368fa85f99ed12e..269f9a9a9e1a799e362a2b4ea8163f0239106d39 100644 (file)
@@ -1111,7 +1111,8 @@ printk_ratelimit_burst
 While long term we enforce one message per `printk_ratelimit`_
 seconds, we do allow a burst of messages to pass through.
 ``printk_ratelimit_burst`` specifies the number of messages we can
-send before ratelimiting kicks in.
+send before ratelimiting kicks in.  After `printk_ratelimit`_ seconds
+have elapsed, another burst of messages may be sent.
 
 The default value is 10 messages.