Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp943777rwo; Wed, 2 Aug 2023 06:37:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlGA6t0bSa8Z30Yfx7m6E+GZrKq3r7SiJHjvcz/orqAsy/XuVHBvuj3a+tnT0s/Y4Lo8VJBL X-Received: by 2002:a17:902:e811:b0:1bc:2c79:c6a4 with SMTP id u17-20020a170902e81100b001bc2c79c6a4mr4208850plg.56.1690983462803; Wed, 02 Aug 2023 06:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690983462; cv=none; d=google.com; s=arc-20160816; b=iMBINT2zV5Rxkd8CIYwNjStThMY/JSGYrTLliQX8RgrRrdj6ukO3dqdiACaXN5GpDd ftojdesRfMd8TQ1/yhTgU4UVj5qkiyCIVpt33pXLstqqistvnLpR4ve/HmGKcx1mgOIA 1M5GATobmogTC+OOFhILonJE0XKp0vzGn32dhgbbNWHI/aQlpfaDeH0oWkxiKXtQCl8F G1I+dR0i8gMxU7SoeSBM4bvnyeMOSUqkVOdZizpqRdSoQwwfWBSM8oVe4zaxgdBMGF4+ SgJ+PDh+Ueu5+6wvO2ht2A+Xazs9KEvoNrFj9NZkrJj2Awd/CF5kq2lHgx84WM+egUCe T4Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=4fMrjSn9bbm0eVGFEHLPQSUpT9jkYQhCgCqVOLuzqsE=; fh=C0zDLQTbbkMt23tgomtD6jgPMjAXpP95SenregBDTG4=; b=svF3zKWxndHnCse7HNTw7+wr7UOfSTmtzMiGwrv+aTFlyKmIrVcM3+ENz23Vw5Zn0M lF0bHIF86Jgfa0qN7/eRhYC+pImM0V/oy+9l0oX9wKWDmOtqlaZKP26bHS+iuEyE3+Iv kOI4HuarnQo0FbZHe52zILXa0Ln6++BfFj8gfzq6/CLRY0on3NXMnrkXcLs9ZzJ68gWT GcmXqqzo7yaft66sCseKvVCRJ3r4Re+Oes03B6yl6Sk1EeptHT2z+QuunrwhUEUL5YvL 2RiBxZW0fBTmhM3QUfP84qqbBGuYvUz+0WGDJitUIRr5ruknTH+IV3meEtuOWWtBvaDJ lqgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=H2LPSqWl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o19-20020a170902e29300b001b9ea60cd8bsi10607233plc.332.2023.08.02.06.37.30; Wed, 02 Aug 2023 06:37:42 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=H2LPSqWl; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232732AbjHBMkN (ORCPT + 99 others); Wed, 2 Aug 2023 08:40:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231641AbjHBMj5 (ORCPT ); Wed, 2 Aug 2023 08:39:57 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBC2B2D5B for ; Wed, 2 Aug 2023 05:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690979921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4fMrjSn9bbm0eVGFEHLPQSUpT9jkYQhCgCqVOLuzqsE=; b=H2LPSqWlqaOE1m5YxTMYL+Ipm6ZtbZvpQiPhgCPApC7NYWgR8xgB1cV3BVSE0gazZ6u56h 4m1mOrfmH8sV5qubX76h52NGfejwi6wY6KqdykgftF1vXlgaCn42bo/+FVCFvQ5yoxHTIO gXnvPnMNr97EsoSSUH9byVUmH0BSDRs= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-269-W0oeRb2ZOxW7h2w3rZVYUQ-1; Wed, 02 Aug 2023 08:38:40 -0400 X-MC-Unique: W0oeRb2ZOxW7h2w3rZVYUQ-1 Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2b9fa64db5cso18366211fa.2 for ; Wed, 02 Aug 2023 05:38:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690979919; x=1691584719; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4fMrjSn9bbm0eVGFEHLPQSUpT9jkYQhCgCqVOLuzqsE=; b=L1ada6WvZGUsThOEXG6bo+mVG5AvDY8HnPpUb0mOSYHtD1iGeu5QrpmCh7De7RGtB+ bUWgA4cDasK8mgdwqhNNI/ufQ9T+4mmp3lzBOy/+7cpjYkzLRhmIwBJoW9ycR83rAWgu 4pqVCrtTM3XYguw2lf09CdFraq6fYlgjgNFNhdPAH2Sfd/0ng1MMVSR/DX8HWEFliVV7 LlG3E5LFD7NmqgTGl/5c9lV+u/GZXi51YG/v2mfdZt02UDWZ+IcVFWp/Gm4fCMPkrAiQ tklnJUBgZ0yz/P2plr66qhTHNs78ERl4WlPWwA9/AYT0XeV1PvmWPkI4wSYdWfT+1+Bs Fo0A== X-Gm-Message-State: ABy/qLbEw820TToOzir6nrYBCskVcg6t5ZLYPnSqN68Ch2GV6YYwqMt0 DBQ7cMInnV6auifA/sytSif1Womr5hAem8zUQWhIwSCKEbv17/05um2bCF45rR0YbbpsyhJchq5 37OGvtA8/t1JPYmPJtCk5/AsO X-Received: by 2002:a2e:920b:0:b0:2b6:af60:6342 with SMTP id k11-20020a2e920b000000b002b6af606342mr4822170ljg.40.1690979918794; Wed, 02 Aug 2023 05:38:38 -0700 (PDT) X-Received: by 2002:a2e:920b:0:b0:2b6:af60:6342 with SMTP id k11-20020a2e920b000000b002b6af606342mr4822156ljg.40.1690979918391; Wed, 02 Aug 2023 05:38:38 -0700 (PDT) Received: from ?IPV6:2003:cb:c70b:e00:b8a4:8613:1529:1caf? (p200300cbc70b0e00b8a4861315291caf.dip0.t-ipconnect.de. [2003:cb:c70b:e00:b8a4:8613:1529:1caf]) by smtp.gmail.com with ESMTPSA id p8-20020a7bcc88000000b003fbcdba1a52sm1599151wma.3.2023.08.02.05.38.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Aug 2023 05:38:36 -0700 (PDT) Message-ID: <4c6f4269-c67d-d15b-9a43-c510726e77bc@redhat.com> Date: Wed, 2 Aug 2023 14:38:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 4/4] mm: migrate: use __folio_test_movable() Content-Language: en-US To: Kefeng Wang , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Huang Ying , Matthew Wilcox References: <20230802095346.87449-1-wangkefeng.wang@huawei.com> <20230802095346.87449-5-wangkefeng.wang@huawei.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230802095346.87449-5-wangkefeng.wang@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, 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 02.08.23 11:53, Kefeng Wang wrote: > Use __folio_test_movable(), no need to convert from folio to page. > > Signed-off-by: Kefeng Wang > --- Reviewed-by: David Hildenbrand -- Cheers, David / dhildenb