]> git.kernelconcepts.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>
Mon, 10 Jun 2013 20:39:44 +0000 (13:39 -0700)
commit05eb552bf5ed9e7277bdc9c273ed2f4e9b7dc3e5
tree9355073909b25cf7ec13f8157326b9f321711d92
parentce3d9c03d1fa079678cc8df1517011e215517cda
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