summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-08-10 04:29:26 -0700
committerPaul E. McKenney <paulmck@kernel.org>2026-09-03 10:45:17 -0700
commitf929e61143a2842e8f8ec9f2319ee19dbb048e32 (patch)
tree30676630de77c375cacecaf4827e4944d8ea77e6 /include/uapi/linux
parent09951fe4b237c109ece8cf123006aafc52760e07 (diff)
downloadlinux-next-f929e61143a2842e8f8ec9f2319ee19dbb048e32.tar.gz
linux-next-f929e61143a2842e8f8ec9f2319ee19dbb048e32.zip
lib/test_csd_lock: Add a module to stall a CPU on a CSD lock
Add test_csd_lock, a module that keeps one CPU from answering an IPI for as long as its stall_ms parameter says, so that the CSD-lock debug code has a stall to report. With in_handler=1 the CPU stalls inside a CSD handler instead, which is the case where the IPI is not re-sent. The module needs CONFIG_CSD_LOCK_WAIT_DEBUG and csdlock_debug=1. Loading it runs one stall and then fails the load with -EAGAIN, the way test_lockup does, so that nothing is left loaded afterwards. Signed-off-by: Breno Leitao <leitao@debian.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions