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 |
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 --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,
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(-)