[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALvZod7bXva9BU6+YWf=qPO+YDj+LF_hHWJzra5GpXZi=ortkQ@mail.gmail.com>
Date: Fri, 8 Jan 2021 11:57:31 -0800
From: Shakeel Butt <shakeelb@...gle.com>
To: Roman Gushchin <guro@...com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux MM <linux-mm@...ck.org>,
Michal Hocko <mhocko@...nel.org>,
Johannes Weiner <hannes@...xchg.org>,
LKML <linux-kernel@...r.kernel.org>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH] mm: kmem: make __memcg_kmem_(un)charge static
On Thu, Jan 7, 2021 at 6:03 PM Roman Gushchin <guro@...com> 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@...com>
Reviewed-by: Shakeel Butt <shakeelb@...gle.com>
Powered by blists - more mailing lists