Skip to contentSkip to conversation

mm-call-vfree-instead-of-__vunmap-from-delayed_vfree_work.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Feb 3, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: call vfree instead of __vunmap from delayed_vfree_work
has been removed from the -mm tree. Its filename was
mm-call-vfree-instead-of-__vunmap-from-delayed_vfree_work.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: Christoph Hellwig <[email protected]>
Subject: mm: call vfree instead of __vunmap from delayed_vfree_work
Date: Sat, 21 Jan 2023 08:10:46 +0100

This adds an extra, never taken, in_interrupt() branch, but will allow to cut down the maze of vfree helpers.

---

mm/vmalloc.c renamed from mm/vmalloc.c~mm-call-vfree-instead-of-__vunmap-from-delayed_vfree_work +1 -1
@@ -2707,7 +2707,7 @@ static void delayed_vfree_work(struct wo
 	struct llist_node *t, *llnode;
 
 	llist_for_each_safe(llnode, t, llist_del_all(&p->list))
-		__vunmap((void *)llnode, 1);
+		vfree(llnode);
 }
 
 /**

_

Patches currently in -mm which might be from [email protected] are