summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorZqiang <qiang1.zhang@intel.com>2023-02-24 09:20:35 +0800
committerPaul E. McKenney <paulmck@kernel.org>2023-03-07 10:13:57 -0800
commit5d65cf6ae6aea1a8d533d4499201a13d0068a0dc (patch)
tree3f8d4058fa5fd8fbef6a8135705def47ec0f10c7 /tools
parent45bcf0bd8cbe163c5aec18570b6befd2193f1a57 (diff)
downloadlinux-5d65cf6ae6aea1a8d533d4499201a13d0068a0dc.tar.gz
linux-5d65cf6ae6aea1a8d533d4499201a13d0068a0dc.tar.bz2
linux-5d65cf6ae6aea1a8d533d4499201a13d0068a0dc.zip
locktorture: Add raw_spinlock* torture tests for PREEMPT_RT kernels
In PREEMPT_RT kernels, both spin_lock() and spin_lock_irq() are converted to sleepable rt_spin_lock(). This means that the interrupt related suffixes for spin_lock/unlock(_irq, irqsave/irqrestore) do not affect the CPU's interrupt state. This commit therefore adds raw spin-lock torture tests. This in turn permits pure spin locks to be tested in PREEMPT_RT kernels. Suggested-by: Paul E. McKenney <paulmck@kernel.org> Suggested-by: Davidlohr Bueso <dave@stgolabs.net> Signed-off-by: Zqiang <qiang1.zhang@intel.com> Reviewed-by: Davidlohr Bueso <dave@stgolabs.net> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions