Re: [PATCH v4 3/5] mm: memcontrol: change ug->dummy_page only if memcg changed

From: Johannes Weiner
Date: Thu Mar 18 2021 - 11:12:05 EST

On Thu, Mar 18, 2021 at 07:06:56PM +0800, Muchun Song wrote:
> Just like assignment to ug->memcg, we only need to update ug->dummy_page
> if memcg changed. So move it to there. This is a very small optimization.
> Signed-off-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>