From: Baruch Siach <baruch@tkos.co.il>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org, Baruch Siach <baruch@tkos.co.il>
Subject: [PATCH 1/2] rmap: remove anon_vma_link() nommu stub
Date: Thu, 24 Aug 2023 14:38:08 +0300 [thread overview]
Message-ID: <cdce9b00c9ab15f6d02eddf40dcad537d3e9676f.1692877089.git.baruch@tkos.co.il> (raw)
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
next reply other threads:[~2023-08-24 11:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 11:38 Baruch Siach [this message]
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
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=cdce9b00c9ab15f6d02eddf40dcad537d3e9676f.1692877089.git.baruch@tkos.co.il \
--to=baruch@tkos.co.il \
--cc=akpm@linux-foundation.org \
--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