[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YFNtim0E1536F7ya@cmpxchg.org>
Date: Thu, 18 Mar 2021 11:11:06 -0400
From: Johannes Weiner <hannes@...xchg.org>
To: Muchun Song <songmuchun@...edance.com>
Cc: guro@...com, mhocko@...nel.org, akpm@...ux-foundation.org,
shakeelb@...gle.com, vdavydov.dev@...il.com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
duanxiongchun@...edance.com
Subject: Re: [PATCH v4 3/5] mm: memcontrol: change ug->dummy_page only if
memcg changed
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@...edance.com>
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists