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>
Fri, 6 Jun 2025 05:02:25 +0000 (22:02 -0700)
commit2da20fd904f87f7bb31b79719bc3dda4093f8cdb
treecb85c128f4552d441dc08c2d68f7c309ceb51f8d
parent7266f590ca1fab3adf7c2546894dc418f2d86ba6
kernel/rcu/tree_stall: add /sys/kernel/rcu_stall_count

Expose a simple counter to userspace for monitoring tools.

(akpm: 2536c5c7d6ae added the documentation but the code changes were lost)

Link: https://lkml.kernel.org/r/20250504180831.4190860-3-max.kellermann@ionos.com
Fixes: 2536c5c7d6ae ("kernel/rcu/tree_stall: add /sys/kernel/rcu_stall_count")
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: Max Kellermann <max.kellermann@ionos.com>
Cc: Song Liu <song@kernel.org>
Cc: Sourabh Jain <sourabhjain@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/rcu/tree_stall.h