]> Git Repo - linux.git/commitdiff
mm: unexport {,un}lock_page_memcg
authorChristoph Hellwig <[email protected]>
Thu, 11 Nov 2021 04:32:46 +0000 (20:32 -0800)
committerLinus Torvalds <[email protected]>
Thu, 11 Nov 2021 17:34:35 +0000 (09:34 -0800)
These are only used in built-in core mm code.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Vladimir Davydov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c

index 070bcc647e6617d7b132ca1daa225c1ec6d04703..781605e920153ce697f86f07dcaea6d84ad19d9e 100644 (file)
@@ -2063,7 +2063,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)
 {
@@ -2096,7 +2095,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
This page took 0.090275 seconds and 4 git commands to generate.