diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2026-05-07 15:03:21 -0700 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-08-14 14:59:20 -0700 |
| commit | 5ac693414b51acb8c4b92813ca3ab4fc6686ddf9 (patch) | |
| tree | 4082e28bab21b22ee8b041c38504d3ffa15748b9 /scripts/Makefile.thinlto | |
| parent | 50df5afa6d410ddfa32f58cdb2976d16fc3785b3 (diff) | |
| download | linux-5ac693414b51acb8c4b92813ca3ab4fc6686ddf9.tar.gz linux-5ac693414b51acb8c4b92813ca3ab4fc6686ddf9.zip | |
rcutorture: Test RCU readers from hardware interrupt handlers
Although rcutorture has long had the irqreader module parameter, this
parameter results only in RCU readers in softirq handlers, specifically,
timers. This commit therefore uses smp_call_function_single() to test
RCU readers in real hardware interrupt handlers, thus providing the full
effect from the irqreader module parameter.
However, consistency/debug checks must account for the possibility that
the smp_call_function_single() handler function is directly invoked
from the idle loop, in which case, for example, in_hardirq() will
return false. This commit uses a per-CPU variable to record being in
the rcu_torture_irq() smp_call_function_single() handler function.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
