[GIT PULL] Report recovery time for CSD-lock stall for v7.4
From: Paul E. McKenney
Date: Fri Oct 16 2026 - 23:54:54 EST
Hello, Linus,
When the v7.4 merge window opens, please pull this CSD-lock update that
reports the time required to recover from a CSD-lock stall:
git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git tags/csd-lock.2026.10.12a
# HEAD: f929e61143a2842e8f8ec9f2319ee19dbb048e32: lib/test_csd_lock: Add a module to stall a CPU on a CSD lock (2026-09-03 10:45:17 -0700)
----------------------------------------------------------------
Report CSD-lock stall recovery time
* Refactor to simplify csd_lock_wait_toolong() function prototype.
* Report time required to recover from a CSD-lock stall.
* Add a test of this reporting.
----------------------------------------------------------------
Breno Leitao (3):
locking/csd-lock: Pack csd_lock_wait_toolong() state into a struct
locking/csd-lock: Report how long a stuck CSD lock took to recover
lib/test_csd_lock: Add a module to stall a CPU on a CSD lock
kernel/smp.c | 77 +++++++++++++++--------
lib/Kconfig.debug | 12 ++++
lib/Makefile | 1 +
lib/test_csd_lock.c | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 237 insertions(+), 26 deletions(-)
create mode 100644 lib/test_csd_lock.c