mbox series

[0/3] rcu/nocb updates v2

Message ID 20231115191128.15615-1-frederic@kernel.org (mailing list archive)
Headers show
Series rcu/nocb updates v2 | expand

Message

Frederic Weisbecker Nov. 15, 2023, 7:11 p.m. UTC
Hi,

Here is a re-issue of some leftovers from a previous patchset.
Changes since last time:

1) Use rcu_get_jiffies_lazy_flush() instead of the raw variable (thanks Joel)
2) Further comment ordering expectations between grace period end and
   callbacks execution.
   
Thanks.

Frederic Weisbecker (3):
  rcu: Rename jiffies_till_flush to jiffies_lazy_flush
  rcu/nocb: Remove needless LOAD-ACQUIRE
  rcu/nocb: Remove needless full barrier after callback advancing

 kernel/rcu/rcu.h       |  8 ++++----
 kernel/rcu/rcuscale.c  |  6 +++---
 kernel/rcu/tree.c      |  6 ++++++
 kernel/rcu/tree_nocb.h | 26 ++++++++++++--------------
 4 files changed, 25 insertions(+), 21 deletions(-)

Comments

Paul E. McKenney Dec. 5, 2023, 4:20 a.m. UTC | #1
On Wed, Nov 15, 2023 at 02:11:25PM -0500, Frederic Weisbecker wrote:
> Hi,
> 
> Here is a re-issue of some leftovers from a previous patchset.
> Changes since last time:
> 
> 1) Use rcu_get_jiffies_lazy_flush() instead of the raw variable (thanks Joel)
> 2) Further comment ordering expectations between grace period end and
>    callbacks execution.

Hearing no objections, I have queued these for further review and testing.

							Thanx, Paul

> Thanks.
> 
> Frederic Weisbecker (3):
>   rcu: Rename jiffies_till_flush to jiffies_lazy_flush
>   rcu/nocb: Remove needless LOAD-ACQUIRE
>   rcu/nocb: Remove needless full barrier after callback advancing
> 
>  kernel/rcu/rcu.h       |  8 ++++----
>  kernel/rcu/rcuscale.c  |  6 +++---
>  kernel/rcu/tree.c      |  6 ++++++
>  kernel/rcu/tree_nocb.h | 26 ++++++++++++--------------
>  4 files changed, 25 insertions(+), 21 deletions(-)
> 
> -- 
> 2.42.1
>