Re: [PATCH 4/9] slab: reorganize memcg_cache_params
From: Vladimir Davydov
Date: Sat Jan 14 2017 - 08:30:38 EST
On Sat, Jan 14, 2017 at 12:54:44AM -0500, Tejun Heo wrote:
> We're gonna change how memcg caches are iterated. In preparation,
> clean up and reorganize memcg_cache_params.
>
> * The shared ->list is replaced by ->children in root and
> ->children_node in children.
>
> * ->is_root_cache is removed. Instead ->root_cache is moved out of
> the child union and now used by both root and children. NULL
> indicates root cache. Non-NULL a memcg one.
>
> This patch doesn't cause any observable behavior changes.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
> Cc: Christoph Lameter <cl@xxxxxxxxx>
> Cc: Pekka Enberg <penberg@xxxxxxxxxx>
> Cc: David Rientjes <rientjes@xxxxxxxxxx>
> Cc: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Acked-by: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>