Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5016637pxb; Mon, 28 Mar 2022 06:52:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4oISLOMpoC0xgdoadBqcoYXJ//UDGHeM8XmBgtp7srTHkPyPWmj0SdqPlf40l9BsnVhze X-Received: by 2002:a05:6402:5cd:b0:419:7753:acfb with SMTP id n13-20020a05640205cd00b004197753acfbmr16166785edx.131.1648475537400; Mon, 28 Mar 2022 06:52:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648475537; cv=none; d=google.com; s=arc-20160816; b=wpn6mrbrEWMdewQMaVkzUTQINqR4hJ09Aap2Lkn8GSHFD51269U7W4Kz+8l8MgGd1z dSLBk5PSoE1ySoqlARucc2dv1lnyBBjC/1iqsKOwUWhD27yveNkE+mLAMhTkVL0+ady2 c4hOBZPi26314bmJoERX9TiHRcwU3yE6GUjbMjPw29Zn+Mcg3VwmUuyayEE1U+8CM7tS 7dmUDdOmg3HwGpoIs9DZnAokjWtJyWKoFPmRt+gpPxg/BsM1eFYLlAXN4P4kM7p0vNno cg0ARZH0wuqHKFssWqIH63azmMurxgEkU7nT570w+7nPOLOMwC/ReVx0uZIRYxTqVJSd zLGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=8LgQchLhdlE67U2/f5cyWYrqAPPPiApqPtBosdH0H6s=; b=qdfJa/MGIig2nQesh7RWPQdN++gHverxKoR12Jxrsddt+yqzMzBd+jUHxmhVnYOdt+ guSTf7xXglgoSGXkSC38bZVlc6q8wTBofrGgJoJe0+QPYWI40vu+YRyWiVAZD5qEFvQr vGdRp+/8tj5AWzqHrWWOI5dfzo6txlG5gTG/QVAchZN8p4rNMZraBp5he0tCvoRa3B4m GRBuUKmTSmxox6kXb3MJ8rvedpxZubbwg8/llPiJdP7jtCwsMX3/MQgynvsf7+EGwBOH EY/aA6Nlv6u90jnGOsRxH2X9anemkWQgrZP+kvRi7tw/7LhBcaJw6DPDJzbPy6ihkQGY BJIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i11-20020a170906264b00b006df76385cf8si13215381ejc.408.2022.03.28.06.51.46; Mon, 28 Mar 2022 06:52:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231651AbiCZG35 (ORCPT + 99 others); Sat, 26 Mar 2022 02:29:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231496AbiCZG3S (ORCPT ); Sat, 26 Mar 2022 02:29:18 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A09927B; Fri, 25 Mar 2022 23:27:43 -0700 (PDT) Received: from dggpemm500021.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4KQTVj6X3yzfZgt; Sat, 26 Mar 2022 14:26:05 +0800 (CST) Received: from dggpemm500014.china.huawei.com (7.185.36.153) by dggpemm500021.china.huawei.com (7.185.36.109) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 26 Mar 2022 14:27:41 +0800 Received: from localhost.localdomain (10.175.112.125) by dggpemm500014.china.huawei.com (7.185.36.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 26 Mar 2022 14:27:40 +0800 From: Wupeng Ma To: , , , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH 6/9] mm: Demote warning message in vmemmap_verify() to debug level Date: Sat, 26 Mar 2022 14:46:29 +0800 Message-ID: <20220326064632.131637-7-mawupeng1@huawei.com> X-Mailer: git-send-email 2.18.0.huawei.25 In-Reply-To: <20220326064632.131637-1-mawupeng1@huawei.com> References: <20220326064632.131637-1-mawupeng1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500014.china.huawei.com (7.185.36.153) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ma Wupeng 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 --- 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