* [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
* [PATCH 2/2] MAINTAINERS: add rmap.h to mm entry
2023-08-24 11:38 [PATCH 1/2] rmap: remove anon_vma_link() nommu stub Baruch Siach
@ 2023-08-24 11:38 ` 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
1 sibling, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2023-08-24 11:38 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm, Baruch Siach
Make it easier to figure out where to send patches for this file.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index d590ce31aa72..58397469adb9 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -13624,6 +13624,7 @@ F: include/linux/memory_hotplug.h
F: include/linux/mm.h
F: include/linux/mmzone.h
F: include/linux/pagewalk.h
+F: include/linux/rmap.h
F: include/trace/events/ksm.h
F: mm/
F: tools/mm/
--
2.40.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] rmap: remove anon_vma_link() nommu stub
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:22 ` David Hildenbrand
1 sibling, 0 replies; 4+ messages in thread
From: David Hildenbrand @ 2023-08-24 13:22 UTC (permalink / raw)
To: Baruch Siach, Andrew Morton; +Cc: linux-mm
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>
--
Cheers,
David / dhildenb
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] MAINTAINERS: add rmap.h to mm entry
2023-08-24 11:38 ` [PATCH 2/2] MAINTAINERS: add rmap.h to mm entry Baruch Siach
@ 2023-08-24 13:23 ` David Hildenbrand
0 siblings, 0 replies; 4+ messages in thread
From: David Hildenbrand @ 2023-08-24 13:23 UTC (permalink / raw)
To: Baruch Siach, Andrew Morton; +Cc: linux-mm
On 24.08.23 13:38, Baruch Siach wrote:
> Make it easier to figure out where to send patches for this file.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> MAINTAINERS | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index d590ce31aa72..58397469adb9 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -13624,6 +13624,7 @@ F: include/linux/memory_hotplug.h
> F: include/linux/mm.h
> F: include/linux/mmzone.h
> F: include/linux/pagewalk.h
> +F: include/linux/rmap.h
> F: include/trace/events/ksm.h
> F: mm/
> F: tools/mm/
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Cheers,
David / dhildenb
^ 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