rcu/nocb: Rename nocb_gp_update_state to nocb_gp_update_state_deoffloading
authorFrederic Weisbecker <frederic@kernel.org>
Thu, 28 Jan 2021 17:12:13 +0000 (18:12 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 8 Mar 2021 22:20:22 +0000 (14:20 -0800)
commit55adc3e1c82a25e99e9efef4f2b14b8b4806918a
tree27a413ab7bda1e95aa2827666aba655a75b1cfb6
parentec711bc12c777b1165585f59f7a6c35a89e04cc3
rcu/nocb: Rename nocb_gp_update_state to nocb_gp_update_state_deoffloading

The name nocb_gp_update_state() is unenlightening, so this commit changes
it to nocb_gp_update_state_deoffloading().  This function now does what
its name says, updates state and returns true if the CPU corresponding to
the specified rcu_data structure is in the process of being de-offloaded.

Reported-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Neeraj Upadhyay <neeraju@codeaurora.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_plugin.h