]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Move redundant call to note_gp_changes() into called function
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 19 Mar 2013 19:38:24 +0000 (12:38 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 22 May 2013 20:53:35 +0000 (13:53 -0700)
commit8f3c0e8e557845c27f9561ff827dce8a7f4178fd
tree1cf2a21e3317688ce1d78a14cd227845f8f87412
parent68a7e31d00f2012587621a3548b9d81742af2448
rcu: Move redundant call to note_gp_changes() into called function

The __rcu_process_callbacks() invokes note_gp_changes() immediately
before invoking rcu_check_quiescent_state(), which conditionally
invokes that same function.  This commit therefore eliminates the
call to note_gp_changes() in __rcu_process_callbacks() in favor of
making unconditional to call from rcu_check_quiescent_state() to
note_gp_changes().

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