On Tue 03-08-21 07:13:35, Roman Gushchin wrote: > I’d go with atomic_dec(). which is not implying memory barriers either. You would need atomic_dec_return or some other explicit barrier IIRC. -- Michal Hocko SUSE Labs
On Tue 03-08-21 07:13:35, Roman Gushchin wrote: > I’d go with atomic_dec(). which is not implying memory barriers either. You would need atomic_dec_return or some other explicit barrier IIRC. -- Michal Hocko SUSE Labs