From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Shi Subject: Re: [PATCH 06/18] mm: memcontrol: prepare uncharging for removal of private page type counters Date: Tue, 21 Apr 2020 17:12:51 +0800 Message-ID: <20065063-d508-5bb9-572e-ebcb2e41cf85@linux.alibaba.com> References: <20200420221126.341272-1-hannes@cmpxchg.org> <20200420221126.341272-7-hannes@cmpxchg.org> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20200420221126.341272-7-hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Johannes Weiner , Joonsoo Kim Cc: Shakeel Butt , Hugh Dickins , Michal Hocko , "Kirill A. Shutemov" , Roman Gushchin , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-team-b10kYP2dOMg@public.gmane.org =D4=DA 2020/4/21 =C9=CF=CE=E76:11, Johannes Weiner =D0=B4=B5=C0: > The uncharge batching code adds up the anon, file, kmem counts to > determine the total number of pages to uncharge and references to > drop. But the next patches will remove the anon and file counters. >=20 > Maintain an aggregate nr_pages in the uncharge_gather struct. >=20 > Signed-off-by: Johannes Weiner Reviewed-by: Alex Shi