Skip to content

Commit ab2f9d2

Browse files
Christoph Hellwigtorvalds
authored andcommitted
mm: unexport {,un}lock_page_memcg
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]>
1 parent 913ffbd commit ab2f9d2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mm/memcontrol.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,7 +2063,6 @@ void lock_page_memcg(struct page *page)
20632063
{
20642064
folio_memcg_lock(page_folio(page));
20652065
}
2066-
EXPORT_SYMBOL(lock_page_memcg);
20672066

20682067
static void __folio_memcg_unlock(struct mem_cgroup *memcg)
20692068
{
@@ -2096,7 +2095,6 @@ void unlock_page_memcg(struct page *page)
20962095
{
20972096
folio_memcg_unlock(page_folio(page));
20982097
}
2099-
EXPORT_SYMBOL(unlock_page_memcg);
21002098

21012099
struct obj_stock {
21022100
#ifdef CONFIG_MEMCG_KMEM

0 commit comments

Comments
 (0)