diff mbox series

[1/2] rmap: remove anon_vma_link() nommu stub

Message ID cdce9b00c9ab15f6d02eddf40dcad537d3e9676f.1692877089.git.baruch@tkos.co.il (mailing list archive)
State New
Headers show
Series [1/2] rmap: remove anon_vma_link() nommu stub | expand

Commit Message

Baruch Siach Aug. 24, 2023, 11:38 a.m. UTC
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(-)

Comments

David Hildenbrand Aug. 24, 2023, 1:22 p.m. UTC | #1
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@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,


Reviewed-by: David Hildenbrand <david@redhat.com>
diff mbox series

Patch

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,