* [merged mm-stable] mm-remove-unused-anon_vma_trylock_write.patch removed from -mm tree
@ 2026-10-07 0:48 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-10-07 0:48 UTC (permalink / raw)
To: mm-commits, vbabka, surenb, sj, rppt, mhocko, ljs, liam, david,
hao.li, akpm
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 0:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-07 0:48 [merged mm-stable] mm-remove-unused-anon_vma_trylock_write.patch removed from -mm tree Andrew Morton
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.