rcu: Remove "cpu" argument to rcu_cleanup_after_idle()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 22 Oct 2014 22:07:37 +0000 (15:07 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 4 Nov 2014 03:20:56 +0000 (19:20 -0800)
commit8fa7845df539105a8962c3173c866483da74ff6d
tree966b4fa33d078e0148b486fe6b40d8cfb04e89ec
parent198bbf8127dd2dec6661622981a4e1f9b8f967b7
rcu: Remove "cpu" argument to rcu_cleanup_after_idle()

The "cpu" argument to rcu_cleanup_after_idle() is always the current
CPU, so drop it.  This moves the smp_processor_id() from the caller to
rcu_cleanup_after_idle(), saving argument-passing overhead.  Again,
the anticipated cross-CPU uses of these functions has been replaced
by NO_HZ_FULL.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Pranith Kumar <bobby.prani@gmail.com>
kernel/rcu/tree.c
kernel/rcu/tree.h
kernel/rcu/tree_plugin.h
This page took 0.024856 seconds and 5 git commands to generate.