diff options
author | Paul E. McKenney <[email protected]> | 2024-02-15 09:04:30 -0800 |
---|---|---|
committer | Uladzislau Rezki (Sony) <[email protected]> | 2024-04-15 11:29:48 +0200 |
commit | 65b4a59557f6fb5d4355093ad5a2c1bd5598ee41 (patch) | |
tree | 31a5e70e4a09cfb69d4752364a9ab58297ba4134 /scripts/gdb/linux/modules.py | |
parent | c1ec7c158090ab968ab9022a9f67e7d88d66ee61 (diff) |
srcu: Make Tiny SRCU explicitly disable preemption
Because Tiny SRCU is used only in kernels built with either
CONFIG_PREEMPT_NONE=y or CONFIG_PREEMPT_VOLUNTARY=y, there has not
been any need for TINY SRCU to explicitly disable preemption. However,
the prospect of lazy preemption changes that, and the lazy-preemption
patches do result in rcutorture runs finding both too-short grace periods
and grace-period hangs for Tiny SRCU.
This commit therefore adds the needed preempt_disable() and
preempt_enable() calls to Tiny SRCU.
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Ankur Arora <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions