diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-10-25 16:33:36 -0700 |
---|---|---|
committer | Uladzislau Rezki (Sony) <urezki@gmail.com> | 2024-12-14 17:10:14 +0100 |
commit | 6ae4c30fee05d97c4f53237e3cd13795a6f44422 (patch) | |
tree | d29b04e9031a0a22829889b195d6f0b9a437ab82 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e2bd168295e4eb719a343086baddfe0abca512a2 (diff) |
rcu: Replace open-coded rcu_exp_need_qs() from rcu_exp_handler() with call
Currently, the preemptible implementation of rcu_exp_handler()
almost open-codes rcu_exp_need_qs(). A call to that function would be
shorter and would improve expediting in cases where rcu_exp_handler()
interrupted a preemption-disabled or bh-disabled region of code.
This commit therefore moves rcu_exp_need_qs() out of the non-preemptible
leg of the enclosing #ifdef and replaces the open coding in preemptible
rcu_exp_handler() with a call to rcu_exp_need_qs().
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions