On 8/15/24 11:58 AM, Breno Leitao wrote:
>> 1) There exists some new-ish macros in overflow.h that perform
>> wrapping arithmetic without triggering sanitizer splats -- check out
>> the wrapping_* suite of macros.
> 
> do they work for atomic? I suppose we also need to have them added to
> this_cpu_add(), this_cpu_sub() helpers.

I don't think so, it's the bias added specifically to the atomic_long_t
that's the issue with the percpu refs.

-- 
Jens Axboe


Reply via email to