linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Shakeel Butt <shakeelb@google.com>
To: Roman Gushchin <guro@fb.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Linux MM <linux-mm@kvack.org>,  Michal Hocko <mhocko@kernel.org>,
	Johannes Weiner <hannes@cmpxchg.org>,
	 LKML <linux-kernel@vger.kernel.org>,
	Kernel Team <kernel-team@fb.com>
Subject: Re: [PATCH] mm: kmem: make __memcg_kmem_(un)charge static
Date: Fri, 8 Jan 2021 11:57:31 -0800	[thread overview]
Message-ID: <CALvZod7bXva9BU6+YWf=qPO+YDj+LF_hHWJzra5GpXZi=ortkQ@mail.gmail.com> (raw)
In-Reply-To: <20210108020332.4096911-1-guro@fb.com>

On Thu, Jan 7, 2021 at 6:03 PM Roman Gushchin <guro@fb.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@fb.com>

Reviewed-by: Shakeel Butt <shakeelb@google.com>


      reply	other threads:[~2021-01-08 19:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08  2:03 Roman Gushchin
2021-01-08 19:57 ` Shakeel Butt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALvZod7bXva9BU6+YWf=qPO+YDj+LF_hHWJzra5GpXZi=ortkQ@mail.gmail.com' \
    --to=shakeelb@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=guro@fb.com \
    --cc=hannes@cmpxchg.org \
    --cc=kernel-team@fb.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox