Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp1479880pxw; Sun, 10 Apr 2022 03:55:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdrCLv2a7jXUACHDCrRlsmprmNMPdxiXVc+Wo1PAx9wAos4X+CFCAT0lbjVmqZZhq0fpLj X-Received: by 2002:a05:6a00:1252:b0:4fa:afcc:7d24 with SMTP id u18-20020a056a00125200b004faafcc7d24mr27612574pfi.85.1649588100437; Sun, 10 Apr 2022 03:55:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649588100; cv=none; d=google.com; s=arc-20160816; b=hnjz0flcOCLTa+QprHCKmxV87RPH4ORP+4z51jhbE/oAsYMgbZtnT2CxWPN53ACuZX ASYS0cG0gFj6pEOI6uKsXi1aHQjPLkeKHCoRX42Binle+Y9oAEtSu8y2TG6UvlQA+XIF FFjiYFu2Gy1NKaQyC+zRrlv8zjdTozCNVunZn5JdVxM1wpE7gG1XVwK9vB9Epce5cqbR Vh31G9PINSlJRbZRVJX5K92pvmuUAR3X7gRZMuBiQuMpM8bPfoD6XHRwkp1hkoNY03lR PEPVsEdfgl+00dVcSKofkPvaCv7EK5hiOmr7lCCqrnBX1GlcCMzxleNDuKLQYwwNxu+z s+KA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2wuW9FrcKmCChz87wNMsfu9g3xMwjtjGd/AJ00jI3s8=; b=pAWyA0T2ER0CbNEZTe0P07bN9Y5egsdQ8LwY7AF2jCr0pE4fAbi4D1WBRdKX7tWT8F Dn//vC0TDDKCYTGl2bLncC8PJyp0TmR/gadeULFpkYO++rqkZzgSGO/T+L/+76klkjdC kUeVgUCTrHVH3rUhMhmHDA04DJirzuTx6r6if84n3FqsHvIBYi9dy/ptf8LB+MXZIm8w jMTytEsnTd8chWeLmlCejefHIxB8X3NoIrmUHK2nXsqpQfjUdef68sutwL4b3D1m0dri 5JqeSTL8SLOXz4PHFRQQg4wESKkgaWvRsAA9/wN+GBB/o7HkeHGFLBRxzAybL7YotK3y RBdg== 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 c13-20020a170903234d00b00153b2d165aesi6249764plh.438.2022.04.10.03.54.47; Sun, 10 Apr 2022 03:55:00 -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 S238775AbiDIJhD (ORCPT + 99 others); Sat, 9 Apr 2022 05:37:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241187AbiDIJgk (ORCPT ); Sat, 9 Apr 2022 05:36:40 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD858108746 for ; Sat, 9 Apr 2022 02:34:34 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Kb9164B6CzdZXb; Sat, 9 Apr 2022 17:34:02 +0800 (CST) Received: from huawei.com (10.175.124.27) 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.2375.24; Sat, 9 Apr 2022 17:34:32 +0800 From: Miaohe Lin To: CC: , , , , , , Subject: [PATCH v2 8/9] mm/vmscan: remove obsolete comment in kswapd_run Date: Sat, 9 Apr 2022 17:34:59 +0800 Message-ID: <20220409093500.10329-9-linmiaohe@huawei.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20220409093500.10329-1-linmiaohe@huawei.com> References: <20220409093500.10329-1-linmiaohe@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.27] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) 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, 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 Since commit 6b700b5b3c59 ("mm/vmscan.c: remove cpu online notification for now"), cpu online notification is removed. So kswapd won't move to proper cpus if cpus are hot-added. Remove this obsolete comment. Signed-off-by: Miaohe Lin --- mm/vmscan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index ba83d8f3e53e..79310b3cbbe3 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -4567,7 +4567,6 @@ unsigned long shrink_all_memory(unsigned long nr_to_reclaim) /* * This kswapd start function will be called by init and node-hot-add. - * On node-hot-add, kswapd will moved to proper cpus if cpus are hot-added. */ void kswapd_run(int nid) { -- 2.23.0