]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Remove callback acceleration from grace-period initialization
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2012 06:34:53 +0000 (23:34 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 5 Sep 2012 19:00:57 +0000 (12:00 -0700)
commit18bf6191a9cd3f501bde02e1bbce6654395ba584
tree81f5aba3df9574d5d9067a9e4b2aa98bffd8a393
parent5dd52d289545e59609427f689830882b9466f06f
rcu: Remove callback acceleration from grace-period initialization

Before grace-period initialization was moved to a kthread, the CPU
invoking this code would have at least one callback that needed
a grace period, often a newly registered callback.  However, moving
grace-period initialization means that the CPU with the callback
that was requesting a grace period is not necessarily the CPU that
is initializing the grace period, so this acceleration is less
valuable.  Because it also adds to the complexity of reasoning about
correctness, this commit removes it.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree.c