On 2026-10-09 15:03, Boqun Feng wrote:
On Fri, Oct 09, 2026 at 02:21:33PM -0400, Mathieu Desnoyers wrote:
[...]
An architecture specific implementation of the pointer comparison can be implemented by each architecture as asm/ptreq.h. The x86 implementation is provided initially. If no implementation header is present for the architecture, an arch-agnostic fallback based on OPTIMIZER_HIDE_VAR is included from asm-generic.
[...]
I prefer the name ptr_eq.h over ptreq.h :) With that name fix or there is a strong reason of ptreq.h: Reviewed-by: Boqun Feng <[email protected]>
I took rwonce.h (implementing READ_ONCE()/WRITE_ONCE()) as an inspiration for the file name. I'm open to change it to whatever people think best. I have no strong preference for either ptreq.h or ptr_eq.h. I'll let people chime in before respinning an updated series if a file name change is needed. Thanks! Mathieu -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com

