summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree.h
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@redhat.com>2015-06-03 08:18:26 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-07-15 23:45:15 +0200
commit9618138b09260e3df5af5a0d7bdc8fca010f6a3f (patch)
tree9f647d7621e5bf1ddb21d0c650afe9c2b35f0861 /kernel/rcu/tree.h
parentrcu: Cleanup rcu_init_geometry() code and arithmetics (diff)
downloadlinux-9618138b09260e3df5af5a0d7bdc8fca010f6a3f.tar.xz
linux-9618138b09260e3df5af5a0d7bdc8fca010f6a3f.zip
rcu: Simplify rcu_init_geometry() capacity arithmetics
Current code suggests that introducing the extra level to rcu_capacity[] array makes some of the arithmetic easier. Well, in fact it appears rather confusing and unnecessary. 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 'kernel/rcu/tree.h')
0 files changed, 0 insertions, 0 deletions