From: Christoph Hellwig <hch@lst.de> To: Johannes Weiner <hannes@cmpxchg.org>, Michal Hocko <mhocko@kernel.org>, Vladimir Davydov <vdavydov.dev@gmail.com>, Andrew Morton <akpm@linux-foundation.org> Cc: Matthew Wilcox <willy@infradead.org>, cgroups@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 2/2] mm: unexport {,un}lock_page_memcg Date: Fri, 20 Aug 2021 11:58:15 +0200 [thread overview] Message-ID: <20210820095815.445392-3-hch@lst.de> (raw) In-Reply-To: <20210820095815.445392-1-hch@lst.de> These are only used in built-in core mm code. Signed-off-by: Christoph Hellwig <hch@lst.de> --- mm/memcontrol.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 4cb4349065931..6a74a180e3eae 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -2019,7 +2019,6 @@ void lock_page_memcg(struct page *page) { folio_memcg_lock(page_folio(page)); } -EXPORT_SYMBOL(lock_page_memcg); static void __folio_memcg_unlock(struct mem_cgroup *memcg) { @@ -2052,7 +2051,6 @@ void unlock_page_memcg(struct page *page) { folio_memcg_unlock(page_folio(page)); } -EXPORT_SYMBOL(unlock_page_memcg); struct obj_stock { #ifdef CONFIG_MEMCG_KMEM -- 2.30.2
WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org> To: Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org>, Michal Hocko <mhocko-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Vladimir Davydov <vdavydov.dev-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org> Cc: Matthew Wilcox <willy-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org Subject: [PATCH 2/2] mm: unexport {,un}lock_page_memcg Date: Fri, 20 Aug 2021 11:58:15 +0200 [thread overview] Message-ID: <20210820095815.445392-3-hch@lst.de> (raw) In-Reply-To: <20210820095815.445392-1-hch-jcswGhMUV9g@public.gmane.org> These are only used in built-in core mm code. Signed-off-by: Christoph Hellwig <hch-jcswGhMUV9g@public.gmane.org> --- mm/memcontrol.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 4cb4349065931..6a74a180e3eae 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -2019,7 +2019,6 @@ void lock_page_memcg(struct page *page) { folio_memcg_lock(page_folio(page)); } -EXPORT_SYMBOL(lock_page_memcg); static void __folio_memcg_unlock(struct mem_cgroup *memcg) { @@ -2052,7 +2051,6 @@ void unlock_page_memcg(struct page *page) { folio_memcg_unlock(page_folio(page)); } -EXPORT_SYMBOL(unlock_page_memcg); struct obj_stock { #ifdef CONFIG_MEMCG_KMEM -- 2.30.2
next prev parent reply other threads:[~2021-08-20 10:02 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-20 9:58 unexport memcg locking helpers Christoph Hellwig 2021-08-20 9:58 ` [PATCH 1/2] mm: unexport folio_memcg_{,un}lock Christoph Hellwig 2021-08-20 9:58 ` Christoph Hellwig 2021-08-20 9:58 ` Christoph Hellwig [this message] 2021-08-20 9:58 ` [PATCH 2/2] mm: unexport {,un}lock_page_memcg Christoph Hellwig 2021-08-20 13:58 ` Johannes Weiner 2021-08-20 13:58 ` Johannes Weiner
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=20210820095815.445392-3-hch@lst.de \ --to=hch@lst.de \ --cc=akpm@linux-foundation.org \ --cc=cgroups@vger.kernel.org \ --cc=hannes@cmpxchg.org \ --cc=linux-mm@kvack.org \ --cc=mhocko@kernel.org \ --cc=vdavydov.dev@gmail.com \ --cc=willy@infradead.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.