Re: [PATCH v1 0/2] Introduce ptr_eq() to preserve address dependency

2024-09-29 Thread Alan Stern
On Sun, Sep 29, 2024 at 07:16:06AM -0400, Mathieu Desnoyers wrote: > Introduce ptr_eq() to compare two addresses while preserving the address > dependencies for later use of the address. It should be used when > comparing an address returned by rcu_dereference(). Both patches are now much better.

[PATCH v1 0/2] Introduce ptr_eq() to preserve address dependency

2024-09-29 Thread Mathieu Desnoyers
Introduce ptr_eq() to compare two addresses while preserving the address dependencies for later use of the address. It should be used when comparing an address returned by rcu_dereference(). Thanks, Mathieu Cc: Greg Kroah-Hartman Cc: Sebastian Andrzej Siewior Cc: "Paul E. McKenney" Cc: Will D