* + mmpage_owner-dont-remove-__gfp_nolockdep-in-add_stack_record_to_list.patch added to mm-hotfixes-unstable branch
@ 2024-04-29 16:13 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-04-29 16:13 UTC (permalink / raw)
To: mm-commits, vbabka, osalvador, elver, djwong, david, andreyknvl,
hch, akpm
The patch titled
Subject: mm,page_owner: don't remove __GFP_NOLOCKDEP in add_stack_record_to_list
has been added to the -mm mm-hotfixes-unstable branch. Its filename is
mmpage_owner-dont-remove-__gfp_nolockdep-in-add_stack_record_to_list.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mmpage_owner-dont-remove-__gfp_nolockdep-in-add_stack_record_to_list.patch
This patch will later appear in the mm-hotfixes-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days
------------------------------------------------------
From: Christoph Hellwig <hch@lst.de>
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.
Link: https://lkml.kernel.org/r/20240429082828.1615986-1-hch@lst.de
Fixes: 217b2119b9e2 ("mm,page_owner: implement the tracking of the stacks count")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Oscar Salvador <osalvador@suse.de>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Darrick J. Wong <djwong@kernel.org>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Marco Elver <elver@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_owner.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/page_owner.c~mmpage_owner-dont-remove-__gfp_nolockdep-in-add_stack_record_to_list
+++ a/mm/page_owner.c
@@ -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 hch@lst.de are
mmpage_owner-dont-remove-__gfp_nolockdep-in-add_stack_record_to_list.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-29 16:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-29 16:13 + mmpage_owner-dont-remove-__gfp_nolockdep-in-add_stack_record_to_list.patch added to mm-hotfixes-unstable branch 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.