aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-02-15 09:04:30 -0800
committerUladzislau Rezki (Sony) <urezki@gmail.com>2024-04-15 11:29:48 +0200
commit65b4a59557f6fb5d4355093ad5a2c1bd5598ee41 (patch)
tree31a5e70e4a09cfb69d4752364a9ab58297ba4134 /tools/perf/scripts/python/export-to-postgresql.py
parentrcu: Make TINY_RCU depend on !PREEMPT_RCU rather than !PREEMPTION (diff)
downloadwireguard-linux-65b4a59557f6fb5d4355093ad5a2c1bd5598ee41.tar.xz
wireguard-linux-65b4a59557f6fb5d4355093ad5a2c1bd5598ee41.zip
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 <paulmck@kernel.org> Cc: Ankur Arora <ankur.a.arora@oracle.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions