lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 18 Mar 2021 18:22:39 -0700 From: Shakeel Butt <shakeelb@...gle.com> To: Muchun Song <songmuchun@...edance.com> Cc: Roman Gushchin <guro@...com>, Johannes Weiner <hannes@...xchg.org>, Michal Hocko <mhocko@...nel.org>, Andrew Morton <akpm@...ux-foundation.org>, Vladimir Davydov <vdavydov.dev@...il.com>, LKML <linux-kernel@...r.kernel.org>, Linux MM <linux-mm@...ck.org>, Xiongchun duan <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 4:08 AM Muchun Song <songmuchun@...edance.com> 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> Reviewed-by: Shakeel Butt <shakeelb@...gle.com>
Powered by blists - more mailing lists