Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3495373pxf; Mon, 5 Apr 2021 13:45:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/BZNECgrZwjEjWsbS9AsFIYE8FWFqVFgE5wMjF9tHE6Mf5smUowwypxsdVyveEp19q974 X-Received: by 2002:a5d:9c50:: with SMTP id 16mr21290261iof.66.1617655545965; Mon, 05 Apr 2021 13:45:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617655545; cv=pass; d=google.com; s=arc-20160816; b=BK5HVIhCZ6wzGCAcM94eXh1evDL97zwH/kK/I3c3+nJrys5FzinOfKcuEkZhy9sONJ ZmHj7D43uKeB9mik2didTeDWjHuoaOIGrvPArx5nqZy/BBS6KfvPqWKQKBfnQiEKGOh4 eCVX0KXVZb8hSx062BNHhc/F8DjchbEeH9xpWUBtB7ki7suuoS6piOs5pD03nBpRAGxe uVhjVrjGIiFrV+UlMvAqPgSZLt2MnwD0qjcX1/UWuYDejhLOKTFgMy3P3upsCAw/4DNT jBM+gjrYkYqlv3KTZMF6GyA9i127uVNlXLH391J3alzWjxuR+s6tdA7C+dqkxB42t/lj CqzA== 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=xlKe2wTzpnM+NS8o7XuoQteF1ui2DgQSCI+mFzgCLlw=; b=0XCE84kh+TaAIBtgjVFmyEm8Vuit7d0CaCLsZXx4dwTuNrDncEiB5lJjMZmKyOddaM EbdeP9JphqQLanzHlmNG1aMvbk1puLWL2enFzdi7pMP3bp12OIDAvKGkk3DE/dQoihSf KVwIAM02P9DVwLbtBVPcSOVHJdQkVOOdOUcfNBnCJDxmECE3d0lqN7DWR7ZeLkRbswy5 0ZbT1ugzzKsqcM7ftqv8lQKO2d17ygc1Hn6rHh2YcfAP0enxnfGaNnDND5WZF9S2Ccff YwBpMo9qUDPfRGa5dQmQnaxsg9rzZrxoZhuFXSU/BmcrCYy30xJP7PNp1BA2S3vamGdh 5aBA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nec.com header.s=selector1 header.b=XZt2fzuY; 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 u194si16700678jau.48.2021.04.05.13.45.33; Mon, 05 Apr 2021 13:45:45 -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=XZt2fzuY; 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 S237338AbhDENu0 (ORCPT + 99 others); Mon, 5 Apr 2021 09:50:26 -0400 Received: from mail-eopbgr1410042.outbound.protection.outlook.com ([40.107.141.42]:45408 "EHLO JPN01-OS2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233806AbhDENu0 (ORCPT ); Mon, 5 Apr 2021 09:50:26 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h9Ov9vEu9zDfbjNcW/lTrbdMIBCUum5YKOqUlqETic82CtaIRePTO0TOmNPwTTp15FXiL63P199SwWTapBZSR1OGH8LStznPMtDu9VYp77UmZk3D+c7pWTnebwzsa93fEcRBPLT8v2ZF9WSSBnETmFEHzZEGmdUTfAYjiIQk3opOFeRiKdqIeHyAYxfAxbAkzHQJubFfXInNOp29giPPIvJljwbI2dD4QzmEaAYUpYwxaeLXXdVIpeXrKHDXiBRk7vY0JGFg34AJ31uf/iSbIue5jLQIve/zp52vG+XDdxBrHVg6PJocOp7up3IduMW/bKqgPbUrQZMYwrJpLxvK6A== 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=xlKe2wTzpnM+NS8o7XuoQteF1ui2DgQSCI+mFzgCLlw=; b=Cj8I6KpSTFkdJ9WFjY1qcPZgDUB+w3iR5ddLFzfect0dVcXoAjd5Vbe4vuvUVuB+F11e+C0oqZJkUEadqbMw9oAu+6mNDSnPZqvTdAdyybpyJXCIFZctb2bs3kCyLco50Yu7VVVF0oZh6qFuzm3RV4NyRInnXOGo5TG/0oSf09O8vu/l60yqwABbPrH7HewhTZOW/+vrwkB3dltbpTbX20YHrLBzDUReieDAZsS4fmgPijy1XSIJwQHsY3lZ73kns/OSDIb/0AH8p5LDzuMQDtiC6UMRXOIG61Efdem6kYEg/dBczi4HCLkeZ9x5OBzGmDsfLJr7X9N/E96Nlk8PbQ== 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=xlKe2wTzpnM+NS8o7XuoQteF1ui2DgQSCI+mFzgCLlw=; b=XZt2fzuY8Mh6ya0gEF6EiChwx51LntJo+NMbqj2HO+sEIwZk57I3tfghVoy46e4T2+XEG6cdiKwsZrTaIXEZE1cOqPoGki+rDbRo90VtBUr+GzGxu38ZD/U8gmKl3KuonxV7vPwjFVqb39ZUjofMJsDaVocKLHZBIAaF7Guorlc= Received: from TY1PR01MB1852.jpnprd01.prod.outlook.com (2603:1096:403:8::12) by TYCPR01MB6445.jpnprd01.prod.outlook.com (2603:1096:400:9a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28; Mon, 5 Apr 2021 13:50:18 +0000 Received: from TY1PR01MB1852.jpnprd01.prod.outlook.com ([fe80::1552:1791:e07c:1f72]) by TY1PR01MB1852.jpnprd01.prod.outlook.com ([fe80::1552:1791:e07c:1f72%7]) with mapi id 15.20.3999.032; Mon, 5 Apr 2021 13:50:18 +0000 From: =?utf-8?B?SE9SSUdVQ0hJIE5BT1lBKOWggOWPo+OAgOebtOS5nyk=?= To: "Luck, Tony" CC: Aili Yao , Oscar Salvador , "david@redhat.com" , "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" , "yangfeng1@kingsoft.com" , "sunhao2@kingsoft.com" Subject: Re: [PATCH v3] mm,hwpoison: return -EHWPOISON when page already poisoned Thread-Topic: [PATCH v3] mm,hwpoison: return -EHWPOISON when page already poisoned Thread-Index: AQHXJiCdggusTB+xD0Gxw5Y8NXSvk6qfzG4AgACjcwCAAOi9AIAEoFmA Date: Mon, 5 Apr 2021 13:50:18 +0000 Message-ID: <20210405135017.GA6504@hori.linux.bs1.fc.nec.co.jp> References: <3690ece2101d428fb9067fcd2a423ff8@intel.com> <20210308223839.GA21886@hori.linux.bs1.fc.nec.co.jp> <20210308225504.GA233893@agluck-desk2.amr.corp.intel.com> <20210309100421.3d09b6b1@alex-virtual-machine> <20210309060440.GA29668@hori.linux.bs1.fc.nec.co.jp> <20210309143534.6c1a8ec5@alex-virtual-machine> <20210331192540.2141052f@alex-virtual-machine> <20210401153320.GA426964@agluck-desk2.amr.corp.intel.com> <20210402091820.04d7c3e0@alex-virtual-machine> In-Reply-To: Accept-Language: ja-JP, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nec.com; x-originating-ip: [165.225.110.205] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 88e70bc0-dd87-4cf1-664b-08d8f839bf92 x-ms-traffictypediagnostic: TYCPR01MB6445: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3qqBJQiGKVyn4iKAnWWv9lEWAdZt2gG7XL+6xe5LUf4hHCHA4BaIAIe9qsryOXa/Yjp6Ze4+WYs3ADBxQqs9/jpAvYwrpXHvwgR7niu3TrFdUY1xVH0ogg5UBKcHnj9zWDU+e0JVR6JS72EP0bzMKGOR5TtuOG4fPxcW8rlHWoJpLVWFn27rBLw0DbXIJoulIWNrPUlwTxgJEnQJvpmb9JN9Gb6RIj2fa4bZVpNa5cUHQxAcy/4XJVWVq37GY+f3u8JsbjCxfuBvGq6IApDqmLZi8t80qCPzp/3ousdZoD1grbVu+E3r3+9ADOBMzvcmqgvqo2i4lJWnXbYs5sO9w0PuEzQtAgp4P+C9Ivmt/x6m+akz7o0LsuiqC971PtjtCwOjYPLzDX4AmDRuCPLHJ62gaZO8/KAkvs/kijb9TLnhKVUs02x5QfZT7ZwX4P3hun1B6ysNi0am5pl2JgEmpC1FSgVKfVaZtPPcSuydsXbY6/udRNQYYt1q0boeFuRriOejhPTkA8uKnzLaKHZnvOTcAVAk1wNZAW50sGGNQEWzm6qx95c3nzxqVLLLVSNf7sgr1L8svwVWpIqZu0Z8LRJVCh7FhDuo2ReFu36AQtfFBvwWtVlzZ0KgkDWi3ceQCS3acouEQsIV83K8kakNAJiX9PyBY2zVLKbb6t5GACI= 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)(396003)(376002)(39850400004)(346002)(136003)(86362001)(71200400001)(83380400001)(1076003)(9686003)(6512007)(54906003)(6916009)(66446008)(5660300002)(8936002)(6486002)(76116006)(316002)(55236004)(6506007)(66476007)(186003)(64756008)(66556008)(8676002)(478600001)(2906002)(66946007)(33656002)(85182001)(4326008)(26005)(38100700001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?U3F0SHE4ZS8rNncyNkVGalQ3ckN3Sk53ZVAwb0JWMk9iMElvVDF2N3pNWENr?= =?utf-8?B?UGdCbXFZQks5bTEzWGJZcEgwbFdRbTZNaVNXZWJ5NFl4Q202OEw3eUhNdnBI?= =?utf-8?B?SU9lZGFndFV0RFkvRkw2SGlpRHRPZ2tNNkc3VnUvZHc0WDNFQXBrTGRici9B?= =?utf-8?B?SnZKWXlzb0pWdXhlQmF5eGsrRktlZkkwbWtOdlhGTDV6M2tqL1FyRk01eGpZ?= =?utf-8?B?S0c3NjBkT20zTVkxZkpEYnFTa0Zqa2ZpTDRwQzQvSEZVSnZsMitPUEl0ZGsz?= =?utf-8?B?Rm1ySEFDcS9VbUpxeEllV1V5b2VTSFQyays0VjZwZmVBWXZCelJtTGxCYTdI?= =?utf-8?B?M1cwZ3BGMDRxWjBhY1MxeUZhN0xwU0NoRStsZVhyK3g1dUxWclZSdDVKV3JL?= =?utf-8?B?MzhxT3FVUG9tNFBDdXQxQ0ptK3R5UVZtV1FGTGR5c3gybTIvbGtWWkJaSEo3?= =?utf-8?B?enVqLzkzdHM1TVBPaVNNUVhnYUhBSVZ4OVUzNXFKbzZ3RjRxdGlCdnZCT1Fq?= =?utf-8?B?a0xpaGdMU3ZjSjEycUZHNElnRFZudzdZUnYwSDFsNHhMd05VRHpZQTAvdGNn?= =?utf-8?B?dUpBeUx2UHFLTlZrZmNpSzlSWS9LR255MHZROG0zcH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mZEVHRxcktZNzZjMzBLMHdDNDFldWtjNHEwanNs?= =?utf-8?B?OUJHUTVLbStIK0l2WXJoTDJiY1Y3UjVEYlNwVVlyZERQRlJ3bTF0dVFlOUZi?= =?utf-8?B?aWlWVVRzb2VvRWdSdW55ejFRblZSMkNTZkZ6bGFoNHNxWGRjaWpkUURrU05U?= =?utf-8?B?aE83aC96eW5lYnNaaVdEOTFPaFlYZW9ITkJJYlJFU0g2R3JSWHZwWjBrRDJp?= =?utf-8?B?UjZJNm14Q0hGUE1HN05YRlBqbUFCZEdUVjZQdktsMmc1MS8wdjBaQ1I3cWlU?= =?utf-8?B?cVI5aFRkK2JZdzRhTnBPQT09?= 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: 88e70bc0-dd87-4cf1-664b-08d8f839bf92 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2021 13:50:18.2522 (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: 84hwZzpwUKAwl31UVyqGS4L6SeLqPE1JZmkNoWxOvhmNBTLokx+UtSTdE/HSGvKo1/bb+PD2hYMX7WccAcOSCQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB6445 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCBBcHIgMDIsIDIwMjEgYXQgMDM6MTE6MjBQTSArMDAwMCwgTHVjaywgVG9ueSB3cm90 ZToNCj4gPj4gQ29tYmluZWQgd2l0aCBteSAibXV0ZXgiIHBhdGNoICh0byBnZXQgcml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