Skip to contentSkip to conversation

mm-remove-unused-anon_vma_trylock_write.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 7

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore 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 <[email protected]>
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.

---

 mm/internal.h |    5 -----
 1 file changed, 5 deletions(-)
mm/internal.h renamed from mm/internal.h~mm-remove-unused-anon_vma_trylock_write +0 -5
@@ -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 [email protected] are