Re: [PATCH 03/10] rcu/nocb: Remove needless LOAD-ACQUIRE

From: Joel Fernandes
Date: Fri Sep 08 2023 - 21:51:15 EST


> > * Callbacks can be concurrently advanced between the LOAD-ACQUIRE on
> > ->nocb_cb_sleep and the call to rcu_segcblist_extract_done_cbs() in
> > rcu_do_batch(), making any ordering based on ->nocb_cb_sleep broken.
>
> If you don't mind, could you elaborate more?

Ah, I see you deleted the counterpart memory barrier in the next
patch. I was reading the patches in order, so I did not notice. I'll
go read that as well. It might make sense to combine this and the next
patch, not sure.

- Joel