linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] rmap: remove anon_vma_link() nommu stub
@ 2023-08-24 11:38 Baruch Siach
  2023-08-24 11:38 ` [PATCH 2/2] MAINTAINERS: add rmap.h to mm entry Baruch Siach
  2023-08-24 13:22 ` [PATCH 1/2] rmap: remove anon_vma_link() nommu stub David Hildenbrand
  0 siblings, 2 replies; 4+ messages in thread
From: Baruch Siach @ 2023-08-24 11:38 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, Baruch Siach

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@tkos.co.il>
---
 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,
-- 
2.40.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-24 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-24 11:38 [PATCH 1/2] rmap: remove anon_vma_link() nommu stub Baruch Siach
2023-08-24 11:38 ` [PATCH 2/2] MAINTAINERS: add rmap.h to mm entry Baruch Siach
2023-08-24 13:23   ` David Hildenbrand
2023-08-24 13:22 ` [PATCH 1/2] rmap: remove anon_vma_link() nommu stub David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox