diff options
author | 2015-06-03 08:18:25 +0200 | |
---|---|---|
committer | 2015-07-15 14:45:14 -0700 | |
commit | 679f9858b1769d740d933f5f1ad9dbe3292f26d2 (patch) | |
tree | 0f1859a188d7ad2695aff72c005f9d38fbb7dd44 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rcu: Remove superfluous local variable in rcu_init_geometry() (diff) | |
download | wireguard-linux-679f9858b1769d740d933f5f1ad9dbe3292f26d2.tar.xz wireguard-linux-679f9858b1769d740d933f5f1ad9dbe3292f26d2.zip |
rcu: Cleanup rcu_init_geometry() code and arithmetics
This update simplifies rcu_init_geometry() code flow
and makes calculation of the total number of rcu_node
structures more easy to read.
The update relies on the fact num_rcu_lvl[] is never
accessed beyond rcu_num_lvls index by the rest of the
code. Therefore, there is no need initialize the whole
num_rcu_lvl[].
Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions