Re: [PATCH] mm: kmem: make __memcg_kmem_(un)charge static

From: Shakeel Butt
Date: Fri Jan 08 2021 - 14:58:41 EST


On Thu, Jan 7, 2021 at 6:03 PM Roman Gushchin <guro@xxxxxx> wrote:
>
> I've noticed that __memcg_kmem_charge() and __memcg_kmem_uncharge()
> are not used anywhere except memcontrol.c. Yet they are not declared
> as non-static and are declared in memcontrol.h.
>
> This patch makes them static.
>
> Signed-off-by: Roman Gushchin <guro@xxxxxx>

Reviewed-by: Shakeel Butt <shakeelb@xxxxxxxxxx>