Skip to contentSkip to conversation

mmflagsh-add-missing-__gfp_zerotags-and-__gfp_skip_kasan_poison-names.patch removed from -mm tree

merged [email protected] 1 participant 1 message Aug 23, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mmflags.h: add missing __GFP_ZEROTAGS and __GFP_SKIP_KASAN_POISON names
has been removed from the -mm tree. Its filename was
mmflagsh-add-missing-__gfp_zerotags-and-__gfp_skip_kasan_poison-names.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Mike Rapoport <[email protected]>
Subject: mmflags.h: add missing __GFP_ZEROTAGS and __GFP_SKIP_KASAN_POISON names

printk("%pGg") outputs these two flags as hexadecimal number, rather than as a string, e.g:

	GFP_KERNEL|0x1800000

Fix this by adding missing names of __GFP_ZEROTAGS and __GFP_SKIP_KASAN_POISON flags to __def_gfpflag_names.

Fixes 013bb59dbb7c ("arm64: mte: handle tags zeroing at page allocation time")
Fixes c275c5c6d50a ("kasan: disable freed user page poisoning with HW tags")
Cc Peter Collingbourne <[email protected]>
Cc Steven Rostedt <[email protected]>

---

 include/trace/events/mmflags.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/trace/events/mmflags.h renamed from include/trace/events/mmflags.h~mmflagsh-add-missing-__gfp_zerotags-and-__gfp_skip_kasan_poison-names +3 -1
@@ -48,7 +48,9 @@
 	{(unsigned long)__GFP_WRITE,		"__GFP_WRITE"},		\
 	{(unsigned long)__GFP_RECLAIM,		"__GFP_RECLAIM"},	\
 	{(unsigned long)__GFP_DIRECT_RECLAIM,	"__GFP_DIRECT_RECLAIM"},\
-	{(unsigned long)__GFP_KSWAPD_RECLAIM,	"__GFP_KSWAPD_RECLAIM"}\
+	{(unsigned long)__GFP_KSWAPD_RECLAIM,	"__GFP_KSWAPD_RECLAIM"},\
+	{(unsigned long)__GFP_ZEROTAGS,		"__GFP_ZEROTAGS"},	\
+	{(unsigned long)__GFP_SKIP_KASAN_POISON,"__GFP_SKIP_KASAN_POISON"}\
 
 #define show_gfp_flags(flags)						\
 	(flags) ? __print_flags(flags, "|",				\

_

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

mm-page_alloc-always-initialize-memory-map-for-the-holes.patch microblaze-simplify-pte_alloc_one_kernel.patch mm-introduce-memmap_alloc-to-unify-memory-map-allocation.patch memblock-stop-poisoning-raw-allocations.patch mm-page_alloc-make-alloc_node_mem_map-__init-rather-than-__ref.patch memblock-make-memblock_find_in_range-method-private.patch mm-remove-pfn_valid_within-and-config_holes_in_zone.patch mm-memory_hotplug-cleanup-after-removal-of-pfn_valid_within.patch