[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20190528220028.GB26614@cmpxchg.org>
Date: Tue, 28 May 2019 18:00:28 -0400
From: Johannes Weiner <hannes@...xchg.org>
To: Roman Gushchin <guro@...com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, kernel-team@...com,
Michal Hocko <mhocko@...nel.org>,
Rik van Riel <riel@...riel.com>,
Shakeel Butt <shakeelb@...gle.com>,
Christoph Lameter <cl@...ux.com>,
Vladimir Davydov <vdavydov.dev@...il.com>,
cgroups@...r.kernel.org, Waiman Long <longman@...hat.com>
Subject: Re: [PATCH v5 4/7] mm: unify SLAB and SLUB page accounting
On Tue, May 21, 2019 at 01:07:32PM -0700, Roman Gushchin wrote:
> Currently the page accounting code is duplicated in SLAB and SLUB
> internals. Let's move it into new (un)charge_slab_page helpers
> in the slab_common.c file. These helpers will be responsible
> for statistics (global and memcg-aware) and memcg charging.
> So they are replacing direct memcg_(un)charge_slab() calls.
>
> Signed-off-by: Roman Gushchin <guro@...com>
> Reviewed-by: Shakeel Butt <shakeelb@...gle.com>
> Acked-by: Christoph Lameter <cl@...ux.com>
Acked-by: Johannes Weiner <hannes@...xchg.org>
Powered by blists - more mailing lists