diff options
| author | Breno Leitao <leitao@debian.org> | 2026-08-10 04:29:26 -0700 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-08-23 17:01:46 -0700 |
| commit | 915312ce14447560e21258be05d44fb7d6e84a4f (patch) | |
| tree | d96369398bca3a6fcefe2429ca04948eaef5901d /scripts/objdiff | |
| parent | 38308bbd9f164873eb9bbd431ebafbc7fd783e9b (diff) | |
| download | linux-next-915312ce14447560e21258be05d44fb7d6e84a4f.tar.gz linux-next-915312ce14447560e21258be05d44fb7d6e84a4f.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>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
