]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
kernel/rcu/tree_stall: add /sys/kernel/rcu_stall_count
authorMax Kellermann <max.kellermann@ionos.com>
Sun, 4 May 2025 18:08:31 +0000 (20:08 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 May 2025 17:48:22 +0000 (10:48 -0700)
Expose a simple counter to userspace for monitoring tools.

Link: https://lkml.kernel.org/r/20250504180831.4190860-3-max.kellermann@ionos.com
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
Cc: Core Minyard <cminyard@mvista.com>
Cc: Doug Anderson <dianders@chromium.org>
Cc: Joel Granados <joel.granados@kernel.org>
Cc: Kees Cook <kees@kernel.org>
Cc: Song Liu <song@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/ABI/testing/sysfs-kernel-rcu_stall_count [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/sysfs-kernel-rcu_stall_count b/Documentation/ABI/testing/sysfs-kernel-rcu_stall_count
new file mode 100644 (file)
index 0000000..a4a97a7
--- /dev/null
@@ -0,0 +1,6 @@
+What:          /sys/kernel/rcu_stall_count
+Date:          May 2025
+KernelVersion: 6.16
+Contact:       Linux kernel mailing list <linux-kernel@vger.kernel.org>
+Description:
+               Shows how many times the system has detected an RCU stall since last boot.