diff options
author | 2024-10-15 09:10:59 -0700 | |
---|---|---|
committer | 2024-10-28 16:55:51 +0100 | |
commit | e3d6718677628680ae75a42bdb2cdc27d28e8ce8 (patch) | |
tree | aaeb47e16fcc0eb76fc159447abf7fc5628063db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | srcu: Rename srcu_might_be_idle() to srcu_should_expedite() (diff) | |
download | wireguard-linux-e3d6718677628680ae75a42bdb2cdc27d28e8ce8.tar.xz wireguard-linux-e3d6718677628680ae75a42bdb2cdc27d28e8ce8.zip |
srcu: Introduce srcu_gp_is_expedited() helper function
Even though the open-coded expressions usually fit on one line, this
commit replaces them with a call to a new srcu_gp_is_expedited()
helper function in order to improve readability.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: <bpf@vger.kernel.org>
Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions