diff options
author | Thomas Gleixner <[email protected]> | 2019-03-13 17:55:47 +0100 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2019-04-08 12:37:43 -0700 |
commit | 24acfb71822566e4d469b4992a7b3b9f873e0083 (patch) | |
tree | 720321f9bb1ea925dd33e2c7536fb892100dc4df /tools/perf/scripts/python/sched-migration.py | |
parent | 8194fe94ab08f56ea55653df924647d23873d18c (diff) |
workqueue: Use normal rcu
There is no need for sched_rcu. The undocumented reason why sched_rcu
is used is to avoid a few explicit rcu_read_lock()/unlock() pairs by
the fact that sched_rcu reader side critical sections are also protected
by preempt or irq disabled regions.
Replace rcu_read_lock_sched with rcu_read_lock and acquire the RCU lock
where it is not yet explicit acquired. Replace local_irq_disable() with
rcu_read_lock(). Update asserts.
Signed-off-by: Thomas Gleixner <[email protected]>
[bigeasy: mangle changelog a little]
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions