Re: [PATCH v3 4/7] mm: unify SLAB and SLUB page accounting
From: Christopher Lameter
Date: Mon May 13 2019 - 14:02:42 EST
On Wed, 8 May 2019, 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.
Acked-by: Christoph Lameter <cl@xxxxxxxxx>