Message ID | 20210820095815.445392-3-hch@lst.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/2] mm: unexport folio_memcg_{,un}lock | expand |
On Fri, Aug 20, 2021 at 11:58:15AM +0200, Christoph Hellwig wrote: > These are only used in built-in core mm code. > > Signed-off-by: Christoph Hellwig <hch@lst.de> Good catch. It was initially exported for xfs dirtying, and is no longer needed after that switched to iomap (and now __set_page_dirty_nobuffers). Acked-by: Johannes Weiner <hannes@cmpxchg.org>
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
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(-)