[PATCH 0/2] rcu/nocb fix and optimization

From: Frederic Weisbecker
Date: Mon Oct 10 2022 - 18:40:17 EST


I wanted to send this a few days ago but then I faced a TREE01 stall
(rcu_barrier() related). I just couldn't remember if it was before or
after these patches... But finally looking at the log, I found the
head which is e8c56bb5baa6969bf2d01b8619f22f5a71818497 (an old RCU:dev
head from more than a month ago, way before these patches). Phew!

Anyway I re-launched many times TREE01 on latest RCU:dev before and
after these patches, it has run both ways more than 600 hours without
any issue...

Frederic Weisbecker (2):
rcu: Fix missing nocb gp wake on rcu_barrier()
rcu/nocb: Spare bypass locking upon normal enqueue

kernel/rcu/tree.c | 6 ++++++
kernel/rcu/tree.h | 1 +
kernel/rcu/tree_nocb.h | 11 +++++++++--
3 files changed, 16 insertions(+), 2 deletions(-)

--
2.25.1