summaryrefslogtreecommitdiff
path: root/include/linux/rmap.h
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2023-08-24 14:38:08 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-09-02 15:17:33 -0700
commit6ad11bc6ed37c6371e9e13619862709b6529b43a (patch)
treed81c8c4c32bb8406de7cc17f5ef9098269c14799 /include/linux/rmap.h
parent8b47933544a68a62a9c4e35f8d8a6d2a2c935823 (diff)
rmap: remove anon_vma_link() nommu stub
anon_vma_link() is unused since commit 5beb49305251 ("mm: change anon_vma linking to fix multi-process server scalability issue"). Link: https://lkml.kernel.org/r/cdce9b00c9ab15f6d02eddf40dcad537d3e9676f.1692877089.git.baruch@tkos.co.il Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/rmap.h')
-rw-r--r--include/linux/rmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h
index a3825ce81102..51cc21ebb568 100644
--- a/include/linux/rmap.h
+++ b/include/linux/rmap.h
@@ -479,7 +479,6 @@ struct anon_vma *folio_lock_anon_vma_read(struct folio *folio,
#define anon_vma_init() do {} while (0)
#define anon_vma_prepare(vma) (0)
-#define anon_vma_link(vma) do {} while (0)
static inline int folio_referenced(struct folio *folio, int is_locked,
struct mem_cgroup *memcg,