Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22760C636CD for ; Thu, 2 Feb 2023 02:14:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231543AbjBBCOM (ORCPT ); Wed, 1 Feb 2023 21:14:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231378AbjBBCOK (ORCPT ); Wed, 1 Feb 2023 21:14:10 -0500 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C2D0196AD for ; Wed, 1 Feb 2023 18:14:04 -0800 (PST) X-UUID: 4062d218a29f11ed945fc101203acc17-20230202 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=MIME-Version:Content-Transfer-Encoding:Content-ID:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From; bh=YY2k4snabdKlT3BogE7+pFtbU7drQrXMUCy/ncdIMLw=; b=KqGWTyFI7Dcpixk/+ZNkO5Q1fs3iOAgF6EvbDUzyHcbdCYg64jBAPzJdEj9tjpT9LDGiJDyaLpnBjAi4fPOqvG7q+90Qf8hEvoVYm0QiUdVFpGKxGhLLUr6rm3Vni26r3MgUe0MRcUxvKYEu9zZK/Dfmo1vdymY8tGUOKWx11Gg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.18,REQID:c0632fc1-cf2a-4c31-ad3c-143e23be13fb,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:3ca2d6b,CLOUDID:3301a58d-8530-4eff-9f77-222cf6e2895b,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0 X-CID-BVR: 0,NGT X-UUID: 4062d218a29f11ed945fc101203acc17-20230202 Received: from mtkmbs11n2.mediatek.inc [(172.21.101.187)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 520755702; Thu, 02 Feb 2023 10:13:58 +0800 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by mtkmbs13n2.mediatek.inc (172.21.101.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 2 Feb 2023 10:13:57 +0800 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (172.21.101.239) by mtkmbs10n1.mediatek.com (172.21.101.34) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Thu, 2 Feb 2023 10:13:56 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G4b6kLfaow1aIKKOsK2ukGsZd0P7gLRphVFi6z57ibGIzqTz776HFPMBDF+IaWvmzKd/ELqKHX9xmg7mpM/a/eR6H+mp3jpBgwKiKjD/OUNFJnq0Mbivjk7dvs8CWZnlP9VgIWXLFNyvndBdxeXwcwpmpbGSwLcG5ggRdyDG0WU2OS8lDluklLfUYblyoytMbWkSEOGJQ9Kg6x3dWV9/O4hktiYte6OUx7Oej3RyaUgI9K1+iJbSZeg5yX/S6SVF2iOWuPABS2naHChI3fztnGf7DG8iyTQIr9DwsKGX/44qPjkH8CeUfciZabw6TRH7XDXuF0lTCRjWrZ5rhQxWFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YY2k4snabdKlT3BogE7+pFtbU7drQrXMUCy/ncdIMLw=; b=Je/yn6Y1qLgz1SLJKgE0wi7okXOlm4LcwyJt3bm3XAlRIn1ar4sccwwKxnsX2dTM8Bts2i2WwMblcSVHXQUW0J9nf/gsl0UlC+EkWFYh+hNGjUefUADUQAKphFX0ZCf/ymmUnjkqr+nKAXNZ9Zeo6lD+r77Uud2jf37n5PwYqb8WxJ5RJbIKmW+ugVfgO26QWuZ+wT+bArbYDj/SS6XHBA4V9ADSK4lG/Yjc/2d9uXQnfzO29nSAIc1HTZ0koEm1STbO/xk4g+LsKycP8K/W2TK8XGe4TS4i8y3dku+vzfojV65FYlwRxIiQqEt+dO6z2QeUayrPUcRSHwDztWcPyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mediatek.com; dmarc=pass action=none header.from=mediatek.com; dkim=pass header.d=mediatek.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediateko365.onmicrosoft.com; s=selector2-mediateko365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YY2k4snabdKlT3BogE7+pFtbU7drQrXMUCy/ncdIMLw=; b=iuxk392DLkrzNiTyjr8tZhy+XKq8sd742BLylQ1zfkRTGUyEZ38Znl2mOIbo4UxiFjWW7JoFLx+EuC4CHaNOYnqSETO/749cWYyCuwl7w3LEU2ssOGScC5EjlzbNgqkwTLWjm0updJGpm0Z4GxS/9LJuASPPCFjCUfcaCA57hKs= Received: from PUZPR03MB5964.apcprd03.prod.outlook.com (2603:1096:301:b4::11) by SI2PR03MB5497.apcprd03.prod.outlook.com (2603:1096:4:12b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.22; Thu, 2 Feb 2023 02:13:55 +0000 Received: from PUZPR03MB5964.apcprd03.prod.outlook.com ([fe80::c43a:ce45:4a27:bd80]) by PUZPR03MB5964.apcprd03.prod.outlook.com ([fe80::c43a:ce45:4a27:bd80%7]) with mapi id 15.20.6064.025; Thu, 2 Feb 2023 02:13:55 +0000 From: =?utf-8?B?S3Vhbi1ZaW5nIExlZSAo5p2O5Yag56mOKQ==?= To: "akpm@linux-foundation.org" CC: =?utf-8?B?QW5kcmV3IFlhbmcgKOaliuaZuuW8tyk=?= , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "linux-mm@kvack.org" , =?utf-8?B?Q2hpbndlbiBDaGFuZyAo5by16Yym5paHKQ==?= , "apopple@nvidia.com" , "linux-arm-kernel@lists.infradead.org" , "jhubbard@nvidia.com" , "matthias.bgg@gmail.com" Subject: Re: [PATCH] mm/gup: Add folio to list when folio_isolate_lru() succeed Thread-Topic: [PATCH] mm/gup: Add folio to list when folio_isolate_lru() succeed Thread-Index: AQHZNT3D27RC3dMIM0Oy2HCSb57LdK65KfQAgAHDjQA= Date: Thu, 2 Feb 2023 02:13:55 +0000 Message-ID: References: <20230131063206.28820-1-Kuan-Ying.Lee@mediatek.com> <20230131151742.df43c3fd11bda01b613234ef@linux-foundation.org> In-Reply-To: <20230131151742.df43c3fd11bda01b613234ef@linux-foundation.org> Accept-Language: zh-TW, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mediatek.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PUZPR03MB5964:EE_|SI2PR03MB5497:EE_ x-ms-office365-filtering-correlation-id: dc41bf0e-dd80-41a4-6d55-08db04c322cc x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Hx3XNAgr31DJuNNW7BUr8BdES0EDLAgUISJZ2NFudJ1MEmlhhI4IwrZQkh7gAPSfbClFzVqai7sIoeH7NXPSTCusNgA5nTDEoRnDWFhFLVo5WSz6aQJWmXvtHdtrGzYqm+viIlcKzlviGKWDLABk5GE5JeegZaZgDyR++CgFU4ISGJUHHu2UfCCqMTKFsUfmBjtlUgUJX2HYoitn9z0x/Hml++fng0itY80oJXWeusvrQJhdepdT2CH143k+6hHPLiQCgxzFOp1kTd0VcJNAwIzE7rRwNm+GsO/Eb8fRzrotQ6GNCxFyZ7YpJux7eLFSee9hR37C01Pop+cfPOg39J0oOTvHDt4LjocK5V3ROtaTmniFet65eezueI/TX5NuAXY9mm1W86WNwROyxt8ShuGt+RLHIkpp2aq9zNTPdhffIuljNWVVSYPuAhfGJY2SqdvZZgzZz7sOBSKbG/oeOvkPPuU1SNnhwSuaEzo2ZEiwOImzHESJklMxxzDuEymZqwJ4diIyheOTwsM9V24CzfoZQ5yFvpEKkQ40Vb68ogLhIQSrRuPKzArX7Gty42vfsdB1VEo2x32WY+UE14TfHWjC2BsVT+Nvvzc/pugZ+b/wSflkVpS/uaxvBu+GphgJsANGckycckWW6zoZfmLtRHWXO+Poyj/ml+w/WTR/BQC0BryGKaVoqQAS7mbzpwBfbs7FCT84TY+kv2bYji0/w9SCNJ0NFTSZPfFnq4cB1Bw= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PUZPR03MB5964.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(39860400002)(136003)(366004)(346002)(396003)(376002)(451199018)(186003)(2616005)(6506007)(6512007)(71200400001)(26005)(478600001)(4326008)(54906003)(6486002)(66446008)(91956017)(66556008)(66476007)(8676002)(64756008)(66946007)(6916009)(76116006)(316002)(86362001)(5660300002)(41300700001)(36756003)(8936002)(2906002)(4744005)(85182001)(122000001)(38100700002)(38070700005)(99106002);DIR:OUT;SFP:1102; x-ms-exchange-antispam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xMWorVk9NT2g3TmdNZUQxalBn?= =?utf-8?B?QUExbnN1MWhqZ0haazZ5cUtYdFZ0TWdNS3VEOE1nc3pobDBrTEhTQWtaTm1q?= =?utf-8?B?WFRHNi90MnNZWHQ2Z2hTS2JSMUN3UkRTTi96VGc3TVdyZUo2aXZ2RzV3RlA2?= =?utf-8?B?M0d4c3JTamRjOW5YU3J3ckw4V0JmN0Z2Wnh6cnB6QTNCQ1NSUkRYa0FhaVVT?= =?utf-8?B?c1A0RVp2MkxnL29jVmwvd3kyeXBQZy9vaDNjTjdiQWJ6WnJHeHcrRERmSkZo?= =?utf-8?B?T0tNS3U1TUxoVVV3amwvbTFBcTNpMlNUQVpJanBsbGIvaE5WVFhmdXB5NTVv?= =?utf-8?B?a0JSKzFSUVZrd21TSHU2S1V0KzMwK3lxN1REM3hJZ2k1Qk5adG9McHl1VGZZ?= =?utf-8?B?M2VxOWpGR21FdGsvRm8wblp4SE1lQW4rRWxuWThIREc3SHpKdnlTclRCQ3FD?= =?utf-8?B?TVE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PUZPR03MB5964.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc41bf0e-dd80-41a4-6d55-08db04c322cc X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2023 02:13:55.1388 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a7687ede-7a6b-4ef6-bace-642f677fbe31 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rfcxMGN1nwr8oi85T9f/SzrRoNUXXOT4tjwrjXMYk8N7/KqyMmOz3QJFwXmooOn4+qGYLokue3xNizw7RffFu+AvoJ8aoSlpQnIQFwBBNHc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: S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