Skip to content

Commit 6ad11bc

Browse files
baruchsiachakpm00
authored andcommitted
rmap: remove anon_vma_link() nommu stub
anon_vma_link() is unused since commit 5beb493 ("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 <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 8b47933 commit 6ad11bc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/rmap.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,6 @@ struct anon_vma *folio_lock_anon_vma_read(struct folio *folio,
479479

480480
#define anon_vma_init() do {} while (0)
481481
#define anon_vma_prepare(vma) (0)
482-
#define anon_vma_link(vma) do {} while (0)
483482

484483
static inline int folio_referenced(struct folio *folio, int is_locked,
485484
struct mem_cgroup *memcg,

0 commit comments

Comments
 (0)