[PATCH v2 6/9] mm: Demote warning message in vmemmap_verify() to debug level
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: <akpm@xxxxxxxxxxxxxxxxxxxx>, <catalin.marinas@xxxxxxx>, <will@xxxxxxxxxx>, <corbet@xxxxxxx>
- Subject: [PATCH v2 6/9] mm: Demote warning message in vmemmap_verify() to debug level
- From: Wupeng Ma <mawupeng1@xxxxxxxxxx>
- Date: Thu, 14 Apr 2022 18:13:11 +0800
- Cc: <ardb@xxxxxxxxxx>, <tglx@xxxxxxxxxxxxx>, <mingo@xxxxxxxxxx>, <bp@xxxxxxxxx>, <dave.hansen@xxxxxxxxxxxxxxx>, <x86@xxxxxxxxxx>, <hpa@xxxxxxxxx>, <dvhart@xxxxxxxxxxxxx>, <andy@xxxxxxxxxxxxx>, <rppt@xxxxxxxxxx>, <paulmck@xxxxxxxxxx>, <peterz@xxxxxxxxxxxxx>, <jroedel@xxxxxxx>, <songmuchun@xxxxxxxxxxxxx>, <macro@xxxxxxxxxxx>, <frederic@xxxxxxxxxx>, <W_Armin@xxxxxx>, <john.garry@xxxxxxxxxx>, <seanjc@xxxxxxxxxx>, <tsbogend@xxxxxxxxxxxxxxxx>, <anshuman.khandual@xxxxxxx>, <chenhuacai@xxxxxxxxxx>, <david@xxxxxxxxxx>, <gpiccoli@xxxxxxxxxx>, <mark.rutland@xxxxxxx>, <wangkefeng.wang@xxxxxxxxxx>, <mawupeng1@xxxxxxxxxx>, <linux-doc@xxxxxxxxxxxxxxx>, <linux-kernel@xxxxxxxxxxxxxxx>, <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, <linux-efi@xxxxxxxxxxxxxxx>, <linux-ia64@xxxxxxxxxxxxxxx>, <platform-driver-x86@xxxxxxxxxxxxxxx>, <linux-mm@xxxxxxxxx>
- In-reply-to: <20220414101314.1250667-1-mawupeng1@huawei.com>
- References: <20220414101314.1250667-1-mawupeng1@huawei.com>
From: Ma Wupeng <mawupeng1@xxxxxxxxxx>
For a system only have limited mirrored memory or some numa node without
mirrored memory, the per node vmemmap page_structs prefer to allocate
memory from mirrored region, which will lead to vmemmap_verify() report
lots of warning message.
This patch demote the "potential offnode page_structs" warning messages
to debug level to avoid a very long print during bootup.
Signed-off-by: Ma Wupeng <mawupeng1@xxxxxxxxxx>
---
mm/sparse-vmemmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/sparse-vmemmap.c b/mm/sparse-vmemmap.c
index 8aecd6b3896c..a63470dafc35 100644
--- a/mm/sparse-vmemmap.c
+++ b/mm/sparse-vmemmap.c
@@ -528,7 +528,7 @@ void __meminit vmemmap_verify(pte_t *pte, int node,
int actual_node = early_pfn_to_nid(pfn);
if (node_distance(actual_node, node) > LOCAL_DISTANCE)
- pr_warn("[%lx-%lx] potential offnode page_structs\n",
+ pr_debug("[%lx-%lx] potential offnode page_structs\n",
start, end - 1);
}
--
2.18.0.huawei.25
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]