Re: [PATCH 2/5] mm, memcg: narrow the scope of percpu_charge_mutex
From: Michal Hocko <mhocko@suse.com>
Date: 2021-08-03 07:28:03
Also in:
cgroups, lkml
From: Michal Hocko <mhocko@suse.com>
Date: 2021-08-03 07:28:03
Also in:
cgroups, lkml
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