android_kernel_motorola_sm6375/kernel/rcu
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul E. McKenney a2165e4168 rcu: Don't funnel-lock above leaf node if GP in progress
The old grace-period start code would acquire only the leaf's rcu_node
structure's ->lock if that structure believed that a grace period was
in progress.  The new code advances to the leaf's parent in this case,
needlessly acquiring then leaf's parent's ->lock.  This commit therefore
checks the grace-period state after marking the leaf with the need for
the specified grace period, and if the leaf believes that a grace period
is in progress, takes an early exit.

Reported-by: Joel Fernandes <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
[ paulmck: Add "Startedleaf" tracing as suggested by Joel Fernandes. ]
2018-07-12 15:38:52 -07:00
..
Kconfig
Kconfig.debug
Makefile
rcu.h rcutorture: Convert rcutorture_get_gp_data() to ->gp_seq 2018-07-12 14:27:57 -07:00
rcu_segcblist.c
rcu_segcblist.h
rcuperf.c
rcutorture.c rcutorture: Convert rcutorture_get_gp_data() to ->gp_seq 2018-07-12 14:27:57 -07:00
srcutiny.c
srcutree.c rcutorture: Convert rcutorture_get_gp_data() to ->gp_seq 2018-07-12 14:27:57 -07:00
sync.c
tiny.c
tree.c rcu: Don't funnel-lock above leaf node if GP in progress 2018-07-12 15:38:52 -07:00
tree.h rcu: Remove ->gpnum and ->completed 2018-07-12 15:38:48 -07:00
tree_exp.h
tree_plugin.h rcu: Remove ->gpnum and ->completed 2018-07-12 15:38:48 -07:00
update.c