diff options
author | 2019-10-30 09:37:11 -0700 | |
---|---|---|
committer | 2020-01-24 10:33:51 -0800 | |
commit | 7441e7661d6586ae36329b7956e4d713d81e9903 (patch) | |
tree | 98190324d8df81f5364fd7793e4d17256bb39b28 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu: Move rcu_{expedited,normal} definitions into rcupdate.h (diff) | |
download | linux-rng-7441e7661d6586ae36329b7956e4d713d81e9903.tar.xz linux-rng-7441e7661d6586ae36329b7956e4d713d81e9903.zip |
rcu: Switch force_qs_rnp() to for_each_leaf_node_cpu_mask()
Currently, force_qs_rnp() uses a for_each_leaf_node_possible_cpu()
loop containing a check of the current CPU's bit in ->qsmask.
This works, but this commit saves three lines by instead using
for_each_leaf_node_cpu_mask(), which combines the functionality of
for_each_leaf_node_possible_cpu() and leaf_node_cpu_bit(). This commit
also replaces the use of the local variable "bit" with rdp->grpmask.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions