Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1668915pxb; Mon, 23 Aug 2021 01:30:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrW+Mp9LJRHnaOJ3dPaYgfA9kHgpvt/g39yLYrzy6VMzSZA/SUghmsQehJLNVkvZZgJMDA X-Received: by 2002:a17:906:318c:: with SMTP id 12mr34022397ejy.28.1629707443594; Mon, 23 Aug 2021 01:30:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629707443; cv=pass; d=google.com; s=arc-20160816; b=Y9FtZ43tQTs8Y65Xf0Uosc1yZHtsUSWmpBmuQjlmKRQ7xuFCW+FBDUp8bCWlFDZXbE cpvzpCj5Kod1mz4572zYEHDbqJGqEarGM9K6cGs+yxEyygPC0YxpnCCfxqkvlozX9RxF 2erwy6+PuJIovvLmS+OgYAVwlrt48SlO4TaSvxIGG5dRvXgtPK4IrzRcJcZ2x1onUZzp JbX3jKA9NR7SVtHPvOokAPjOLi5ehfer4U11u5wHxPxeUO8uDFMXZGDkSTfpoC2EBW0f bahnRrS7QvSzQbSli4O6J2UcQX7nEzktpLeFJPHhyI4u82gikIzKfEYdbtR3mXQwOQql SjWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=nJOmFtwnraFT83uxJh1JaUZJJjRxpESWWPdl5e0mw/o=; b=TGeM5zPlspwraykxvY54yQPmHCrqsbWaKCYK7SLYCWMojNgkDxitWWAfUpx8IBKbu0 oN7d/aNjOkDYth2SWocCp6R/Eg9OSoKwY8unlTME9yekmYXSPqc1UKoSjXdhb42lx/cI XXBveITuR4tYq/AImS8KWU3+4WBb2XUgj9syQ0YNJpg/3COknyB5bC5fJhfWvmPqoYMJ mAPOJNons265p+qUtH3Zg7dIatTJFquIp4LE2XV2g1IgduFIU0JzH0OghRDMtwIZekAa +g3QOYAw3YoIqPz187fvb0mIsGkt6tonapce4QwVGkMhW8wetWDqS3BNci17U7+e6t14 yT2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nec.com header.s=selector1 header.b=RZFkoUhn; arc=pass (i=1 spf=pass spfdomain=nec.com dkim=pass dkdomain=nec.com dmarc=pass fromdomain=nec.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si14025905edb.449.2021.08.23.01.30.20; Mon, 23 Aug 2021 01:30:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nec.com header.s=selector1 header.b=RZFkoUhn; arc=pass (i=1 spf=pass spfdomain=nec.com dkim=pass dkdomain=nec.com dmarc=pass fromdomain=nec.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235518AbhHWI1f (ORCPT + 99 others); Mon, 23 Aug 2021 04:27:35 -0400 Received: from mail-eopbgr1400070.outbound.protection.outlook.com ([40.107.140.70]:32736 "EHLO JPN01-TY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S235442AbhHWI1e (ORCPT ); Mon, 23 Aug 2021 04:27:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B/H6Z1bE87bAUtagOi4Rg467ktjMAYojwRgSAXLWkFFoLDCMpIZtuvcEoVzjj53Yf4g4tTteNvDuo4PuqAaL/KPN8Yy1gXb5JtClTrwddUGwaZPJwHn++HD1WUw16DS4eDBTh3Q8dJCRlumu9MHRq7a7E49Gk4/vf4wXLOiabjuHIj9UVTFtagHvPan8BSWq5NmmouJNirb3znwnRJh/jWzn8sKUSOxOWr/HFSye/HCd2y7qtMof5+84ar0p7aCqXnNrWpii5+awZE2y7m8SpETOEzrgJ3D1mnXssJ5R9Ejr9W0ymmjtkKNkwbphA3WvX7WSIhhJbEBQuOWqv2zxyg== 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-SenderADCheck; bh=nJOmFtwnraFT83uxJh1JaUZJJjRxpESWWPdl5e0mw/o=; b=PTNq4ovWmwdvkYK3ch8MKn7wV83um1GERMBQnYAxBNiBWmYmHK+ZKGHDIM68EUMWJPayTmumSt0zH/1/SCfnd/sLoCt/M2pryA3e0QTTvGiJtbJaUGupcsuSbm3qhn/HgM3nVzYyGEwz5TkBZ3Yxl/bqSICRnTyXKhPbavRw4+oBzdmiMaMZmFB9DhulHcB7STVNga07ilw9cbShokHyB8cBGwr81FA7WlUHSZYB0CNAwMvU/Oq/GyWqSlOM4QXyYfr2pOSNJ973dAfRkNCqAgF2DtRkbLEhVtZUEGlq2O6WUIxuiEHEMn7RXSKFf9MgE8mEpG9U8xQH/qAZF+qsCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nec.com; dmarc=pass action=none header.from=nec.com; dkim=pass header.d=nec.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nec.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nJOmFtwnraFT83uxJh1JaUZJJjRxpESWWPdl5e0mw/o=; b=RZFkoUhn2g+u6Hlk7Ect5PxEjw78xAGmpHjceBoMB/ooLm0tiTRSjwGxXiauYdGpWoW3sqfraeGw+LvpCQDVYfxdoQQyobbNtIpcRpyo3XsQEBnvtawePBCoaVKBFVZjMgx90NsOmI8IZiYr7I9C/s436znb1VjnLHJm83HSPEY= Received: from TY1PR01MB1852.jpnprd01.prod.outlook.com (2603:1096:403:8::12) by TYAPR01MB6139.jpnprd01.prod.outlook.com (2603:1096:402:37::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.22; Mon, 23 Aug 2021 08:26:47 +0000 Received: from TY1PR01MB1852.jpnprd01.prod.outlook.com ([fe80::4401:f9e:2afb:ebc0]) by TY1PR01MB1852.jpnprd01.prod.outlook.com ([fe80::4401:f9e:2afb:ebc0%7]) with mapi id 15.20.4436.024; Mon, 23 Aug 2021 08:26:47 +0000 From: =?utf-8?B?SE9SSUdVQ0hJIE5BT1lBKOWggOWPo+OAgOebtOS5nyk=?= To: Miaohe Lin CC: "akpm@linux-foundation.org" , "mhocko@suse.com" , "minchan@kernel.org" , "cgoldswo@codeaurora.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 3/3] mm/memory_hotplug: make HWPoisoned dirty swapcache pages unmovable Thread-Topic: [PATCH 3/3] mm/memory_hotplug: make HWPoisoned dirty swapcache pages unmovable Thread-Index: AQHXlnDvJ78PbWxOk0WV4HcahnTJ/auAxFYA Date: Mon, 23 Aug 2021 08:26:47 +0000 Message-ID: <20210823082646.GB1452382@hori.linux.bs1.fc.nec.co.jp> References: <20210821094246.10149-1-linmiaohe@huawei.com> <20210821094246.10149-4-linmiaohe@huawei.com> In-Reply-To: <20210821094246.10149-4-linmiaohe@huawei.com> Accept-Language: ja-JP, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nec.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bc101a99-db0e-43a6-05e1-08d9660fbf78 x-ms-traffictypediagnostic: TYAPR01MB6139: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rZBHAf6rxWfICAsfDKwArhnQW8AfiZqf/SQNtF5wQbzjs1I5Cb2rOP97203Mr5NOamFv4ndIiI0SiUUynHiOfhlc8q3FdUv9CKsJId3PSzYrFj46nW+oLNNCCxJB9Khgcw36z6ez55qbexTLiLIepS46QfL0RU2vch6/JXsqUBxhwlqE7nXje6uAwDGAjq4+7oWoqnTsv56kHNpt4mz1n7325TxrWQd28RUjDKF4AIbkkS+jB/hggph9AZB48H1i0RYUpyjNhLwad+zuE+xBoJylJnHPHB8efAzH6qw292RM0bBIpxwcQD8ERVZxEC5kNoE4jFceCsxvnD7o/cpDbgA9iBD4iM64Mw1OuHRHtFYulRcKotLHWYCJLZFHr/oAxK7v9W5US586P4tITZBxUChia0Z8P0n914MIDZYMyTnPQJosecrrOGQ+i56jY0wSHRwra11RrP9K9vaPwdCoMxf8CQHm4ayTMfXw8TJt7buMaE/5pU5CgcQI0gDI7r6EZR9sFNh92aptTtnQ/JsQFVPO6wggSRL9kPad2GyE8iJYqsSDZcbFhJJyXs7n+frX0ElXEQTfT6A+ypiGm+247oDqOI6pNzhbEs/OOV4JkCTIEiuHAuAcgLNMf2EKHzdUSoG1nAz2YgKvnsbEFiklATCpnL39xI7YCi1VAhda+XaMX08HCCRCl1oymvlgLlIGKsJH9sdJMVLLMhHhSyYqyOwKjKonTVER2Zzd/Z0fkpI= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TY1PR01MB1852.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(4326008)(66556008)(66446008)(66476007)(38070700005)(54906003)(38100700002)(122000001)(85182001)(66946007)(64756008)(316002)(6506007)(6916009)(1076003)(71200400001)(508600001)(2906002)(55236004)(186003)(33656002)(8676002)(6512007)(9686003)(86362001)(26005)(6486002)(83380400001)(5660300002)(76116006)(8936002)(14143004);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?R3U4SXlLd2pJZmVodG9vUU5CWkE5VnZHVmFvaFd0N1pveXhZY01DQ3ZuQjFE?= =?utf-8?B?Wnd5M2dtL3JpRFdMZk14SWU0NFZCVHZ4Nndaa25PdHE2Q1RFbGJKc2t6aW0z?= =?utf-8?B?NlRnNHJ3YS8zbUZ5K1phcVp5aVQyWEJiNjAxcHMyTUk3OEFVcjhnQml4NGZr?= =?utf-8?B?c09vS2xCYTRvSStTbDFSNkVoVmp6NHY3ZE5MVnVnM2w3TnlyUWpOcnlxNUx3?= =?utf-8?B?VkVsRUd2RVI4SVVwMTlpT3VLd0JpT2tsdFlBaUczamI2ZVJBNjQ4Y296QjdY?= =?utf-8?B?MW9ZcEFNS1FrUmE0Q0N3akxMNXlEUmdJMkdCUjNtLzJSdll1OHJLaVJ0Wjhx?= =?utf-8?B?VUtnc0tPMmY0Zy9CM2JuVVBwNWVVTnNiTTd5WnV5bExjMExhVmZMelpkZnlI?= =?utf-8?B?QWhEdGpuZDRUVG05c24rV1I0V1VRbk41Z21RYzNQcDZoWTZsZ1dCTjhjaDNU?= =?utf-8?B?cE8yb0pia1FYSjhrZHhwakVZdGprZWVCK1NuMExoNEUrVjR3N3VMQlVCbDM5?= =?utf-8?B?ZWFUTnZ2UVY0THJIVU13bUxxelMwdEhuSzl4eS9manV5UDdPSm9VS0FseXlB?= =?utf-8?B?NUxDMmhCRndvUll2dnRlbmFTY1FrSS9NdGZLYmtPTzFHK1MrYlNwQ3hoL1NF?= =?utf-8?B?NVp1ekZEVnovR09FdFY3RzJpblgzVGlSbGczMGtRZ054ZDVibnd0cnhkZkp2?= =?utf-8?B?S3JqNVR0Vzl4UU5aV21Zb3I2T0ErV2cxY3RneW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uZHRiWGtsMk4rSU5VWjJydllIZUFR?= =?utf-8?B?emNDUmdocVZyTS8zQ3k2Y0tvdTRSZCs5ZFlKSlA2RGFmYUV6WHY1aThJMk5W?= =?utf-8?B?QTZIYjNwVGlTcDZERG83d2U2Y1JxMHNNU1phU3dkVTNCNFk0Q2tiMExhKzky?= =?utf-8?B?WXpDK2tXVFFEQVRBbW5Vdz09?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nec.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TY1PR01MB1852.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc101a99-db0e-43a6-05e1-08d9660fbf78 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Aug 2021 08:26:47.1652 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e67df547-9d0d-4f4d-9161-51c6ed1f7d11 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7Ru0VffUHeDBiPqUcHXA2js8dnXfKAknJyMnK4RlfDqT6S8Y7JZ3g6GzMbtE4Tn9ruml/VxahU2nAPtDscFlzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYAPR01MB6139 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2F0LCBBdWcgMjEsIDIwMjEgYXQgMDU6NDI6NDZQTSArMDgwMCwgTWlhb2hlIExpbiB3cm90 ZToNCj4gSFdQb2lzb25lZCBkaXJ0eSBzd2FwY2FjaGUgcGFnZXMgYXJlIGtlcHQgZm9yIGtpbGxp bmcgb3duZXIgcHJvY2Vzc2VzLg0KPiBXZSBzaG91bGQgbm90IG9mZmxpbmUgdGhlc2UgcGFnZXMg b3IgZG9fc3dhcF9wYWdlKCkgd291bGQgYWNjZXNzIHRoZQ0KPiBvZmZsaW5lIH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