Skip to contentSkip to conversation

mmpage_owner-dont-remove-__gfp_nolockdep-in-add_stack_record_to_list.patch removed from -mm tree

merged mm-hotfixes-stable Andrew Morton 1 participant 1 message May 6, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm,page_owner: don't remove __GFP_NOLOCKDEP in add_stack_record_to_list
has been removed from the -mm tree. Its filename was
mmpage_owner-dont-remove-__gfp_nolockdep-in-add_stack_record_to_list.patch

This patch was dropped because it was merged into the mm-hotfixes-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: mm,page_owner: don't remove __GFP_NOLOCKDEP in add_stack_record_to_list
Date: Mon, 29 Apr 2024 10:28:28 +0200

Otherwise we'll generate false lockdep positives.

Fixes 217b2119b9e2 ("mm,page_owner: implement the tracking of the stacks count")
Cc Andrey Konovalov <[email protected]>
Cc Darrick J. Wong <[email protected]>
Cc Dave Chinner <[email protected]>
Cc Marco Elver <[email protected]>

---

 mm/page_owner.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/page_owner.c renamed from mm/page_owner.c~mmpage_owner-dont-remove-__gfp_nolockdep-in-add_stack_record_to_list +1 -1
@@ -170,7 +170,7 @@ static void add_stack_record_to_list(str
 
 	/* Filter gfp_mask the same way stackdepot does, for consistency */
 	gfp_mask &= ~GFP_ZONEMASK;
-	gfp_mask &= (GFP_ATOMIC | GFP_KERNEL);
+	gfp_mask &= (GFP_ATOMIC | GFP_KERNEL | __GFP_NOLOCKDEP);
 	gfp_mask |= __GFP_NOWARN;
 
 	set_current_in_page_owner();

_

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