Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1922706pxm; Fri, 4 Mar 2022 06:10:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwI1cqhCXrmm9YTI4Ooo5ibGiueqgd6aNUU6pI1zx05zI6fNHDxWGME5Lf5hkG11E8HtZ5H X-Received: by 2002:a17:902:8ec7:b0:14a:c442:8ca2 with SMTP id x7-20020a1709028ec700b0014ac4428ca2mr41579159plo.12.1646403034007; Fri, 04 Mar 2022 06:10:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646403034; cv=none; d=google.com; s=arc-20160816; b=uwD0EUMjW2XzNwR2B8eWW+V0D8WBSwgnsaCVeBVzSIOeCWj6L7lSbnxCRHhABvnf/5 DFOLQx2J4PWJIO4KDPgJ1s3XKmlreeL/6F0C6AXeNzb68NOSIObIF5aPYnrS1AQPgUEN 151ejoJl2sKVRztGoGKcdgavepW3bS9cu+C7R+nQ8PE/KSjr9UaR1Hmujxh682evzcSU KFcQ5LXvB3wRBJsP26TvRkER28Qz1ULGslKU3Ld/XL3uOOjqIbkMHTNptutB5ZzriRj6 VIAZRd0eFldJYL/Kf67cDRZQE3iKGsRw1p0noDEzqWiETHKhDMCSU3z/KQuPYhUFkFZT +7mg== 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=9JvzcxTknwlUai69GZXDhvioqVy0LFPbimbqbpKC7sU=; b=vUv7JJs6TYRsh20PI+tJbd2CarBUP3aXKKKfXKf/IaiHXL5Bp8cLJJpPt6b5kEYVyf sn3nWkQ0sMMhvYoz0ryu8Qe61ED8s3tgIRmWOEo8fbX+RH11NRLSrPQO49vFcoCFdGQ3 ME0eAogW5XdVZB7QWp2eDQxLqIlqBvbxDHMQMQaojkFMVDMZzAcdIKniaE1DGFA/yzHu jLpH4naYEsYEiTctlwkIxvLIdm0GmRJXelrS6MB43ouoZ0t7me5EnY1KwJnP06tgehec 2/ZiHEQaszwGgfXUfoNljDM3UpiYkTS+xxfDxkd99l6Q49RFm7y5xGO8ibntaMDrZWya xz1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=KFv2TBYr; 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 bj10-20020a170902850a00b001518320b38dsi5092264plb.217.2022.03.04.06.09.58; Fri, 04 Mar 2022 06:10:33 -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=KFv2TBYr; 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 S232621AbiCDMNw (ORCPT + 99 others); Fri, 4 Mar 2022 07:13:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229600AbiCDMNu (ORCPT ); Fri, 4 Mar 2022 07:13:50 -0500 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CA7C522D5 for ; Fri, 4 Mar 2022 04:13:02 -0800 (PST) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-2dc348dab52so55217877b3.6 for ; Fri, 04 Mar 2022 04:13:02 -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=9JvzcxTknwlUai69GZXDhvioqVy0LFPbimbqbpKC7sU=; b=KFv2TBYrhqFCyh9zxS3Khdu/BprRqhhGAFMToRO/GTUV6XkpMaUMJ63nL9htyZuw2S pOiWl/uYc8I3mpfFIDjNmfTZYmM9mQgTtdr15mHm+oszhlJlFwpllDhWomNTf7rAxQCx RUAjS1J/iBhBOltRfp5C1VNosMIz/Ufrd+JSkdPbckiw2Cz12cBSLofcFLTtZR1w2+Ib 4lq93gyf1EW23HNVun8RPRcEbqDp6jQNLQi/2aurA635tRFhrtUKglOd7rrsG1r+2YrF qDPVfl/x9Yo9VguqFqEHK5Osvcle3bGY9SzmLF3+W3Ghkm9jin+EvniE2vVYQZ/4FqlM QRKA== 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=9JvzcxTknwlUai69GZXDhvioqVy0LFPbimbqbpKC7sU=; b=opAPveJTMvUFNOhCy4dEX4Cph5v2dSxnsDE9ZBgNMXT68KoOBZDK6tI18PvENy34ya VE7SnqHSTxnBaPF7XAk3N7rtqbIAATq8f4rpy0tO4SOUB2EtdpSTxG0tT2zlGKrzIykB XSPfXlq43x2b+3bpnvIR0mzYHCRQdx9U47if9Meyr4tW8uKO03s5DK7DPgx24ZiKl/aO aoGnuUtLVRwZMT6B0WZykTAeYnq3t4MHFWLKSwgEl9KIp9QokR6BGVqaEtWAPryC9pD5 zU0j5AN6pOlWfDTJ+5I6TZufA7dan11OYGrn6NhjLzwB5huyrXXvLSatNhFbO5nlLnNH b39A== X-Gm-Message-State: AOAM532vRemYf4Sl6QNMjMgOY1KueZa1luvMrcZ6QyR2pyKgulGs2/jD rMas9l4/1qdLMyRkqiw6yjGELolNxZuV1A4DnLxMIw== X-Received: by 2002:a0d:f9c5:0:b0:2db:7a9a:b01a with SMTP id j188-20020a0df9c5000000b002db7a9ab01amr24748839ywf.458.1646395981338; Fri, 04 Mar 2022 04:13:01 -0800 (PST) MIME-Version: 1.0 References: <20220304093409.25829-1-linmiaohe@huawei.com> <20220304093409.25829-3-linmiaohe@huawei.com> In-Reply-To: <20220304093409.25829-3-linmiaohe@huawei.com> From: Muchun Song Date: Fri, 4 Mar 2022 20:12:13 +0800 Message-ID: Subject: Re: [PATCH 02/16] mm/migration: remove unneeded out label 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: > > We can do prep_transhuge_page when newpage is not NULL. Thus we can remove > out label to simplify the code. > > Signed-off-by: Miaohe Lin Reviewed-by: Muchun Song