On 24.08.23 13:38, Baruch Siach wrote:
anon_vma_link() is unused since commit 5beb49305251 ("mm: change
anon_vma linking to fix multi-process server scalability issue").
Signed-off-by: Baruch Siach <baruch@xxxxxxxxxx>
---
include/linux/rmap.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/rmap.h b/include/linux/rmap.h
index b87d01660412..15360b3ef82c 100644
--- a/include/linux/rmap.h
+++ b/include/linux/rmap.h
@@ -477,7 +477,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,
Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>
--
Cheers,
David / dhildenb