On Fri, Oct 4, 2024 at 2:29 PM Mathieu Desnoyers <[email protected]> wrote: > > Refer to ptr_eq() in the rcu_dereference() documentation. > > ptr_eq() is a mechanism that preserves address dependencies when > comparing pointers, and should be favored when comparing a pointer > obtained from rcu_dereference() against another pointer. > > Signed-off-by: Mathieu Desnoyers <[email protected]> > Acked-by: Alan Stern <[email protected]> > Acked-by: Paul E. McKenney <[email protected]> > Cc: Greg Kroah-Hartman <[email protected]> > Cc: Sebastian Andrzej Siewior <[email protected]> > Cc: "Paul E. McKenney" <[email protected]> > Cc: Will Deacon <[email protected]> > Cc: Peter Zijlstra <[email protected]> > Cc: Boqun Feng <[email protected]> > Cc: Alan Stern <[email protected]> > Cc: John Stultz <[email protected]> > Cc: Neeraj Upadhyay <[email protected]> > Cc: Linus Torvalds <[email protected]> > Cc: Boqun Feng <[email protected]> > Cc: Frederic Weisbecker <[email protected]> > Cc: Joel Fernandes <[email protected]>
Reviewed-by: Joel Fernandes (Google) <[email protected]> thanks, - Joel

