Commit 204ab51
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>1 parent 448b66a commit 204ab51
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
488 | 489 | | |
489 | 490 | | |
490 | 491 | | |
| 492 | + | |
491 | 493 | | |
492 | 494 | | |
493 | 495 | | |
| |||
865 | 867 | | |
866 | 868 | | |
867 | 869 | | |
| 870 | + | |
868 | 871 | | |
869 | 872 | | |
870 | 873 | | |
| |||
1227 | 1230 | | |
1228 | 1231 | | |
1229 | 1232 | | |
1230 | | - | |
1231 | | - | |
1232 | | - | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
1233 | 1238 | | |
1234 | 1239 | | |
1235 | 1240 | | |
1236 | 1241 | | |
1237 | 1242 | | |
1238 | | - | |
| 1243 | + | |
| 1244 | + | |
1239 | 1245 | | |
1240 | 1246 | | |
1241 | 1247 | | |
| |||
0 commit comments