Re: RE: [RFC PATCH v2 2/4] Documentation: RCU: Refer to ptr_eq()

2024-10-07 Thread Sebastian Andrzej Siewior
On 2024-10-06 19:52:49 [+], David Laight wrote: > From: Mathieu Desnoyers > > Sent: 04 October 2024 19:28 > > > > 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 wh

Re: [RFC PATCH v2 2/4] Documentation: RCU: Refer to ptr_eq()

2024-10-06 Thread Paul E. McKenney
On Sun, Oct 06, 2024 at 07:52:49PM +, David Laight wrote: > From: Mathieu Desnoyers > > Sent: 04 October 2024 19:28 > > > > Refer to ptr_eq() in the rcu_dereference() documentation. > > > > ptr_eq() is a mechanism that preserves address dependencies when > > comparing pointers, and should be

RE: [RFC PATCH v2 2/4] Documentation: RCU: Refer to ptr_eq()

2024-10-06 Thread David Laight
From: Mathieu Desnoyers > Sent: 04 October 2024 19:28 > > 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 a

Re: [RFC PATCH v2 2/4] Documentation: RCU: Refer to ptr_eq()

2024-10-04 Thread Joel Fernandes
On Fri, Oct 4, 2024 at 2:29 PM Mathieu Desnoyers 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

[RFC PATCH v2 2/4] Documentation: RCU: Refer to ptr_eq()

2024-10-04 Thread Mathieu Desnoyers
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 Acked-by: Alan S