Skip to content

Commit 913ffbd

Browse files
Christoph Hellwigtorvalds
authored andcommitted
mm: unexport folio_memcg_{,un}lock
Patch series "unexport memcg locking helpers". Neither the old page-based nor the new folio-based memcg locking helpers are used in modular code at all, so drop the exports. This patch (of 2): folio_memcg_{,un}lock are only used in built-in core mm code. Link: https://lkml.kernel.org/r/[email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Christoph Hellwig <[email protected]> Cc: 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 ab09243 commit 913ffbd

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
@@ -2058,7 +2058,6 @@ void folio_memcg_lock(struct folio *folio)
20582058
memcg->move_lock_task = current;
20592059
memcg->move_lock_flags = flags;
20602060
}
2061-
EXPORT_SYMBOL(folio_memcg_lock);
20622061

20632062
void lock_page_memcg(struct page *page)
20642063
{
@@ -2092,7 +2091,6 @@ void folio_memcg_unlock(struct folio *folio)
20922091
{
20932092
__folio_memcg_unlock(folio_memcg(folio));
20942093
}
2095-
EXPORT_SYMBOL(folio_memcg_unlock);
20962094

20972095
void unlock_page_memcg(struct page *page)
20982096
{

0 commit comments

Comments
 (0)