Re: [PATCH 6/7] mm: memcontrol: move obj_cgroup_uncharge_pages() out of css_set_lock

From: Shakeel Butt
Date: Tue Apr 13 2021 - 10:19:16 EST


On Mon, Apr 12, 2021 at 11:58 PM Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:
>
> The css_set_lock is used to guard the list of inherited objcgs. So there
> is no need to uncharge kernel memory under css_set_lock. Just move it
> out of the lock.
>
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>