linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: Baruch Siach <baruch@tkos.co.il>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
Subject: Re: [PATCH 1/2] rmap: remove anon_vma_link() nommu stub
Date: Thu, 24 Aug 2023 15:22:57 +0200	[thread overview]
Message-ID: <c5cbb718-1de5-50ce-5eec-a0dfe574e9fa@redhat.com> (raw)
In-Reply-To: <cdce9b00c9ab15f6d02eddf40dcad537d3e9676f.1692877089.git.baruch@tkos.co.il>

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



      parent reply	other threads:[~2023-08-24 13:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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:23   ` David Hildenbrand
2023-08-24 13:22 ` David Hildenbrand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c5cbb718-1de5-50ce-5eec-a0dfe574e9fa@redhat.com \
    --to=david@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=baruch@tkos.co.il \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox