From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,vbabka@kernel.org,surenb@google.com,sj@kernel.org,rppt@kernel.org,mhocko@suse.com,ljs@kernel.org,liam@infradead.org,david@kernel.org,hao.li@linux.dev,akpm@linux-foundation.org
Subject: [merged mm-stable] mm-remove-unused-anon_vma_trylock_write.patch removed from -mm tree
Date: Tue, 06 Oct 2026 17:48:57 -0700 [thread overview]
Message-ID: <20261007004857.AE2AE1F0089C@smtp.kernel.org> (raw)
The quilt patch titled
Subject: mm: remove unused anon_vma_trylock_write()
has been removed from the -mm tree. Its filename was
mm-remove-unused-anon_vma_trylock_write.patch
This patch was dropped because it was merged into the mm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Hao Li <hao.li@linux.dev>
Subject: mm: remove unused anon_vma_trylock_write()
Date: Thu, 27 Aug 2026 15:18:06 +0800
The last user of anon_vma_trylock_write() was removed by cc22b9978509,
leaving the helper unused. Remove it.
Link: https://lore.kernel.org/20260827071845.17636-1-hao.li@linux.dev
Signed-off-by: Hao Li <hao.li@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Acked-by: David Hildenbrand (Arm) <david@kernel.org>
Reviewed-by: SJ Park <sj@kernel.org>
Cc: Liam R. Howlett <liam@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@kernel.org>
---
mm/internal.h | 5 -----
1 file changed, 5 deletions(-)
--- a/mm/internal.h~mm-remove-unused-anon_vma_trylock_write
+++ a/mm/internal.h
@@ -295,11 +295,6 @@ static inline void anon_vma_lock_write(s
down_write(&anon_vma->root->rwsem);
}
-static inline int anon_vma_trylock_write(struct anon_vma *anon_vma)
-{
- return down_write_trylock(&anon_vma->root->rwsem);
-}
-
static inline void anon_vma_unlock_write(struct anon_vma *anon_vma)
{
up_write(&anon_vma->root->rwsem);
_
Patches currently in -mm which might be from hao.li@linux.dev are
reply other threads:[~2026-10-07 0:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261007004857.AE2AE1F0089C@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=david@kernel.org \
--cc=hao.li@linux.dev \
--cc=liam@infradead.org \
--cc=ljs@kernel.org \
--cc=mhocko@suse.com \
--cc=mm-commits@vger.kernel.org \
--cc=rppt@kernel.org \
--cc=sj@kernel.org \
--cc=surenb@google.com \
--cc=vbabka@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.