diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2025-11-02 14:49:47 -0800 |
|---|---|---|
| committer | Frederic Weisbecker <frederic@kernel.org> | 2025-11-07 14:37:17 +0100 |
| commit | 204ab51445a72eab2b74165061282c868573f59c (patch) | |
| tree | 2a077d9a6d990f0fc415d0929d49ad333fa50e5a /tools/lib/python/kdoc/kdoc_re.py | |
| parent | 448b66a7aaf33cf52dc47dd7807652ce827e8dfd (diff) | |
refscale: Do not disable interrupts for tests involving local_bh_enable()
Some kernel configurations prohibit invoking local_bh_enable() while
interrupts are disabled. However, refscale disables interrupts to reduce
OS noise during the tests, which results in splats. This commit therefore
adds an ->enable_irqs flag to the ref_scale_ops structure, and refrains
from disabling interrupts when that flag is set. This flag is set for
the "bh" and "incpercpubh" scale_type module-parameter values.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
