Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1977707pxm; Fri, 4 Mar 2022 07:12:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJw32WMVDU5e9PblRLq9NiKjdMHw5M6uvHwFTbA1A+7mUEgCE7WEbyJ9M4xHz6N5F1cb3WEs X-Received: by 2002:a05:6402:5207:b0:412:806b:6424 with SMTP id s7-20020a056402520700b00412806b6424mr39728326edd.131.1646406723366; Fri, 04 Mar 2022 07:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646406723; cv=none; d=google.com; s=arc-20160816; b=JgBxtz9hYzLd0ezdfpP5mtlfEuK/tAjHbrcmPosAsRkGCzW3oDBrsO+Cc5Ai47TMS8 IT5k4uV4mxCK4n1ACIU0wZC5HPoN0Xz4MYLxh10w4QFwTermFsZ5ME5Vjbwm4OJrAKaD MzN6+wtkU7f72LUlcd0x2geom79/eDr7TGjBJKwb6RZdJGt0dJtMU4sdrnIWKzVUTbc1 2IP81vKbwctqhPjsg4WihZ1iCkTEq/K6haa1Oe94SvVj26g7lWj+Va9QUf3Q4H53kTfO 0avsLPphBt5RML0+w93AkTGsNcAdh4zqeU569GXRFqCSWBCdO5Zivq56jbf79Hod1dEG MUrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=8OAmWvG3KlYliyUdPO8+7WtwcRcsO7IgmHEGERM18j4=; b=CH92PIkL2uKbRAqvu620rPSQL1d6MXEl/d+9iSmq0E/2rUMaYtHD5K0ipzRQQ9yutd 3aJowVC15M4ZTnrTEFgyV0VU8XfabM3TaEi+/EwFY49DUA0n99HfOIy677LDlfadR+Ve sAYIhLh/iKtQi4njMgkTsQWj5pZHXgEuh05TS6GamtcM/clyA77pP8cE+kZggw8ODP1q oBKEYc6UaOaJdPRnxH4BYdCPBcmjt92Ni3WjMHBTKKpUqqGaeHlrVnZlqCD32unMTi/y 566VLNhwvhjjMnNAWtIeqIZ50Dz5hmuJDD0Ng1PW0deCneIcLIo1o5wOPZiH7PmZhkw6 e3Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=LtlQCrh+; 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=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr12-20020a170907720c00b006d0ee4df8casi4030777ejc.43.2022.03.04.07.11.34; Fri, 04 Mar 2022 07:12:03 -0800 (PST) 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; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=LtlQCrh+; 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=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238661AbiCDN7V (ORCPT + 99 others); Fri, 4 Mar 2022 08:59:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239679AbiCDN7P (ORCPT ); Fri, 4 Mar 2022 08:59:15 -0500 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42E4F54BCD for ; Fri, 4 Mar 2022 05:58:22 -0800 (PST) Received: by mail-yb1-xb2f.google.com with SMTP id e186so16997096ybc.7 for ; Fri, 04 Mar 2022 05:58:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8OAmWvG3KlYliyUdPO8+7WtwcRcsO7IgmHEGERM18j4=; b=LtlQCrh+7W8CujhTYtC7bpijhmuzbaa1k1zjs0SgpFyqUGRz8WOt0uJU1tofv37emS j0Tc03GuHP6RyJzJBhbyuLl2jiVuDpbNkZwj7M4r6ZvCYcmRc4qGQi8N6bWBNeUR2CuW D/cqfnLJo6m+iElu3pweUWbvFYMY14FIK/OuTQYG+yyE9AYAUR5lDV2IZy1m5bMTd9X2 dYi9lSH59nmlllOJcAsdLEE8a1d+vXu3tAI8SbJYzjyhRHNl4hrZT65Bu/GWWl1go34g 3q137hVTNkjyTxNZtSwqVN/uroD1Cmur54Dc2LMUGuLPPKJSCikk1kRG2ooomhSppknI QKvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8OAmWvG3KlYliyUdPO8+7WtwcRcsO7IgmHEGERM18j4=; b=noVmBKA8ZVRNPJxcTxSQL3zyb/tOSAVn+TGraVDGV9AQVFGAlxnvNLzslyazGrMk01 dxDsq3iwkh+W2GDzr21D/l/Rxn/uRft0rzOJ/ltDcF+Owvx85knt47jnoN4Jfe3D/sEP K+Rlj7A8EOBGl7FUTd3nBBG86oYDF3i5wbY8xduMu8d6Pkn0by7TctFSRvjaHP05p9k7 Ir/HCiUcrMu9vWJV0dwBUpN2Agy6bBYOSAA6sN36ufgIbfeGmQfMf+kuelTicqPmegp3 e/VwqT3G3gAavcSw141gMvQO2lNS05eM+dPxSNgz2RX0cw2RZizFviRWwceP33YICgro alOg== X-Gm-Message-State: AOAM530/5gWMYeVwIuULY80ikGejoWE3WoDvNDXJNH7V6vWeApQ0busm Nu9MgiE4lL7SwY7Avpj/zF4Bhk25XUYCg3DRC/gy9w== X-Received: by 2002:a25:951:0:b0:628:db03:1132 with SMTP id u17-20020a250951000000b00628db031132mr4723852ybm.132.1646402301511; Fri, 04 Mar 2022 05:58:21 -0800 (PST) MIME-Version: 1.0 References: <20220304093409.25829-1-linmiaohe@huawei.com> <20220304093409.25829-9-linmiaohe@huawei.com> In-Reply-To: <20220304093409.25829-9-linmiaohe@huawei.com> From: Muchun Song Date: Fri, 4 Mar 2022 21:57:34 +0800 Message-ID: Subject: Re: [PATCH 08/16] mm/migration: avoid unneeded nodemask_t initialization To: Miaohe Lin Cc: Andrew Morton , Mike Kravetz , Yang Shi , Matthew Wilcox , Huang Ying , Zi Yan , Minchan Kim , Alistair Popple , ave.hansen@linux.intel.com, o451686892@gmail.com, Mina Almasry , John Hubbard , Ralph Campbell , Peter Xu , =?UTF-8?B?SE9SSUdVQ0hJIE5BT1lBKOWggOWPoyDnm7TkuZ8p?= , Michal Hocko , riel@redhat.com, Linux Memory Management List , LKML Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, 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 On Fri, Mar 4, 2022 at 5:35 PM Miaohe Lin wrote: > > Avoid unneeded next_pass and this_pass initialization as they're always > set before using to save possible cpu cycles when there are plenty of > nodes in the system. > > Signed-off-by: Miaohe Lin Reviewed-by: Muchun Song Thanks.