From patchwork Sun Jun 25 03:33:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 112518 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp6729610vqr; Sat, 24 Jun 2023 21:28:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4NUTCmKETdZxyyNKxP68xdTFsNmxyJcPIWi3mDT8LhTtPXIZ75o1zFKsQgS/QZegv/U05a X-Received: by 2002:a05:6808:1a27:b0:3a1:bb4e:880a with SMTP id bk39-20020a0568081a2700b003a1bb4e880amr5743521oib.12.1687667314905; Sat, 24 Jun 2023 21:28:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687667314; cv=none; d=google.com; s=arc-20160816; b=IwPsVBJdrcAoMO28k9PGf+AV8AuwORQzx0Sb+e4+1UUM6Suy+Vz0RTAxGyonmQvucH aDdcswEODlYfNHcEcsHVVbTdxZltzaOwLAnc/jpbBSvamyFd0KXIRfz+tDfe1BWuPVKM DrjQege/ctqJEZcL87WQKQzXSNLR1r6u/ly3CeY3BnQmelbxNJ1bK/RJXcTOQQP4Jnsr VcTt69rdeD+mvPe1vlJ68fAnRQw9Z1mBnharq76pETxc+Qa4w6INQ5aayh95fHzI93OO AoI6W6kxGN3NCO6V8drRSRRx7RY/9iPKPlOcC3yQP8MPqabErFlnKnql2wIJ6e3O0hrI TAhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=gRBxoJlV6RjtAYnCPjqeFPC7xYMYiJFJZs41126Fybw=; fh=eK19xIshSAMWwRls8wFBxXm+qmjDpgdvZ33FYfDJB/M=; b=tCHh1Uwpwy2IEvwit0RuHUVF5wr8Eerz5ykVIKGq7+XbW+OsZCUMWE/no0XxXW90TE 6Upj4zc8kt0NWYzgbSmgy2bzHrjP3kxkDqvPOO7bI+wUEDe4JIwoHVWGJJxXjUUcsnAs Xb08kl248+pyySAMQsnHkq3NAPKMkJaVf0N/xGHudMnYYW6ta1Qc/AYrd7Uiuu9S5eFb Z8MKANnh10FncSjIsCbamSviQ9BaTDrsBKgDSyMQVoLzwdhiVsu2YkAbnP/1mvRQq8KE olykbUf/crFPiQTDRuaSNRD78yAeVxoGAqWeZigaOg7jwoTCKsG21OoSDMlWRxMpKqfA tTfQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q15-20020a17090311cf00b001a97a54c3a2si2725607plh.197.2023.06.24.21.28.23; Sat, 24 Jun 2023 21:28:34 -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 S230203AbjFYDea (ORCPT + 99 others); Sat, 24 Jun 2023 23:34:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229674AbjFYDe0 (ORCPT ); Sat, 24 Jun 2023 23:34:26 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70AECB5 for ; Sat, 24 Jun 2023 20:34:24 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Qpc3m2GMgzLlhq; Sun, 25 Jun 2023 11:32:20 +0800 (CST) Received: from huawei.com (10.175.104.170) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sun, 25 Jun 2023 11:34:21 +0800 From: Miaohe Lin To: , CC: , , Subject: [PATCH] mm/mm_init.c: Update obsolete comment in get_pfn_range_for_nid() Date: Sun, 25 Jun 2023 11:33:40 +0800 Message-ID: <20230625033340.1054103-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-Originating-IP: [10.175.104.170] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500002.china.huawei.com (7.192.104.244) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769647442399628878?= X-GMAIL-MSGID: =?utf-8?q?1769647442399628878?= Since commit 633c0666b5a5 ("Memoryless nodes: drop one memoryless node boot warning"), the warning for a node with no available memory is removed. Update the corresponding comment. Signed-off-by: Miaohe Lin Reviewed-by: Mike Rapoport (IBM) --- mm/mm_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/mm_init.c b/mm/mm_init.c index 999723dee8cc..f90db54e2b21 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -1681,8 +1681,7 @@ static inline void alloc_node_mem_map(struct pglist_data *pgdat) { } * * It returns the start and end page frame of a node based on information * provided by memblock_set_node(). If called for a node - * with no available memory, a warning is printed and the start and end - * PFNs will be 0. + * with no available memory, the start and end PFNs will be 0. */ void __init get_pfn_range_for_nid(unsigned int nid, unsigned long *start_pfn, unsigned long *end_pfn)