]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite15f73b8b419779bef4fd6eb4317b71ac3943691
tree966b4fa33d078e0148b486fe6b40d8cfb04e89ec
parent804e5428a1d65ca5fe3c63ddbdae351b640beef8
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