Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp219851pxj; Thu, 17 Jun 2021 00:53:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9AXB+PgCd3yBIV9YYseGtzX8smNRrv14fgKJpZRZhx4eXVmkAB0ZXPZ7dIEorFVWGcc4f X-Received: by 2002:a05:6402:b5a:: with SMTP id bx26mr4686055edb.81.1623916382728; Thu, 17 Jun 2021 00:53:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623916382; cv=pass; d=google.com; s=arc-20160816; b=NbIiZLFYmPmOU/tgN63PXLCFrYXPqeCQlX1+fYroA2Ljsd+J+jKCtyf71WKBmb+XYS jiwmrvs1JvBjlPHKy4K/qlchOLVBY1ScUicHtCS4SQK4WI1IWJV1xuceI4PduMGYEsZW BOsk74xesgC03ZOcPz6xo1TAXca0inbYrQiGF0E7mzY9un3VlIYmvV4/AmFjSMEMtRZE UnahHKY0VQi4jiCNwENvOe/jdmRm64/Vi2mu+m413MJlF4OFHVQMPyQGHwzOktBrZErb bfZnKQ3Ox1v+2YeRb3PPUELOwObmoxTd5tFRme/Pn019ucOhie7w+8q4A57s4lMlke/E 3uAA== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :ironport-sdr:dkim-signature; bh=hxgipqB+Ox26lMGfNh9PDyEv0iN34aN1Yzm0uPM+GB4=; b=eJi/thCUT8AFhP5SpC9PKjL5lM0JNHseiZBp/TH4APPjct/ajsDpApvSdTlDlkgnMz F9wrQ6RIfF1iziIt0X1s38RmoqfKyBS2wr+dRZwT4T7weCGFOgWSMPDoXNw3XwTQiebl KZ5t5NGycxY0C1+8RtvdvcDfKx4MBu1vw0np3NRbYX8JinNfHWMyU+eRs3Bn/AprchXr yY9hsD6QEdm4nn9dFc0JLLkemU+BESItQRHPhPCpsd0Sd4KHh2vdH2WqV9QTWMHCzdvd YKL2PMkpol4xZeDhSjSmZRgDIv41KUx/vfg+n9jEpN41BEE01xa7BJmBWnqMD4MaePRy tMFw== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@fujitsu.com header.s=fj1 header.b=eQtgAwh+; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b=SGa3KYUN; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.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 ka15si5030993ejc.148.2021.06.17.00.52.39; Thu, 17 Jun 2021 00:53:02 -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=fail (test mode) header.i=@fujitsu.com header.s=fj1 header.b=eQtgAwh+; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b=SGa3KYUN; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.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 S229943AbhFQHxk (ORCPT + 99 others); Thu, 17 Jun 2021 03:53:40 -0400 Received: from esa1.fujitsucc.c3s2.iphmx.com ([68.232.152.245]:42773 "EHLO esa1.fujitsucc.c3s2.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbhFQHxi (ORCPT ); Thu, 17 Jun 2021 03:53:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1623916292; x=1655452292; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=hxgipqB+Ox26lMGfNh9PDyEv0iN34aN1Yzm0uPM+GB4=; b=eQtgAwh+Y46KwpgIHCkf3UcfJKF/MAJbj2aisjO5elj/7ZHsgArvYFn5 HyxmI0qlBaUQjM6Y/RUT53viTwC8yoeLLt18Vpz+lZcyZLhw39twsIhMk FwUtFNPNIZTDn6IzKBfG2kCf7peQAGyHyizZJfT7nKHKm8Hg5Fo6TMxB4 toB7EuTMj94MrZ8Mf/TnCF0sB3GFSubRX4ay+GyINhV9m57LASFmccISL iIZTKCJ+SEKS0MN8ZJqu6nSQxaPRP84lpO7ZBBgpwErDd9jhftvCz82lW uJaHd/NujAAuIxs2e5jj1ikOToFzNxhYKCmJoFhATxX8UaCyyMAK0i9va g==; IronPort-SDR: Mfmeb3+tsZOtU7r8rpLCjkKgKZP7p5hvOS+/j8yxo5yjhHXnT8aJXmRdhDhnTMUMm5kUvKvkPh hbIgvvV6i08tSaSFdoVqsLfB8RUgy5lLgBrHyPKC3JNO1aJfpVPigYQa1arRMMJsPyW00ZqaVB 5tMLj9qeTIze7jcy+zIaarX5oAoboAJKXAjvVr6XScCPx6sBsmKBBe53Z8CZdlz1OK0Cc40vyv 8HVk+PxfxbKrT7KYACnP27zzYfHbm0e+F/Sw7yOE+PdvXqWPUH3Yk3XZJCrV9IA/LQuhsOpG/Z ouw= X-IronPort-AV: E=McAfee;i="6200,9189,10017"; a="41477277" X-IronPort-AV: E=Sophos;i="5.83,278,1616425200"; d="scan'208";a="41477277" Received: from mail-ty1jpn01lp2050.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([104.47.93.50]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jun 2021 16:51:27 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QPXXTWP24SbBCvMzWXk5MhEn6Cxr2z2WXcGHUjMAoO6s3esxWXSNdoVAIB+u46l2tAI2dz8W+efOwUWr4ULr6IRQw/ztPbC0/5BAVr+mjAr52ogfHnVUnTudcgIk60IUgvAt1Q9Shw2V3zuuyVG7lWCRieNo01Vnlt01ABeOGdAmLbPJHLCxKxOAMMaVLyX2z4eT/uL2Acysu8jr4KXis75TzADSBFMYrKdwDAGbp+4bbTQX2CWWCsD5lPdoinNZFnBYK3AsWxqRjVLYzZ3GsjFGGAiYWCWFgUvvcdOXfE3U8+3Tkzprj2Tl9MIS+YwqrNOa74KR6DV/xg7TVJPYYg== 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=hxgipqB+Ox26lMGfNh9PDyEv0iN34aN1Yzm0uPM+GB4=; b=jc2ll0FZjIeQ0o2i37MbEEUQyB0GUimQk+QaxUvUpPT4/pMPMiK/qfr64017hPTBlqPbYCiOrXbqg1F4qbrjsk6cdv7v4MefUocl/TGCR8mDE5ExJCOqZFlEBJVUd4TIECPezCkA8XkRXqT2dw/O617PvwxG/78eTxkNqYeZvM0Al/EYzS+AQgHW3vEOG0QZDuUtBV1y1k6MV5ywImf9kdY8NdvBmv7886k6oQsdplTcXsYlfX94RCVSUQi2Tx45uiaZAHV/9Xw6vdjBRVM2/ecXgyS+RxDUlQKYaBJdqCFxAFQk/Zdy5DRKTCbGgvPsOHT+W22cYy39vr+Dc6Vz2A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.onmicrosoft.com; s=selector2-fujitsu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hxgipqB+Ox26lMGfNh9PDyEv0iN34aN1Yzm0uPM+GB4=; b=SGa3KYUNto+rFhnHNcuG9fkshdbaHqK8p1PPleTnPVtNT2XIhCIicUOWGsuxX0AVdNutqnBbSBX+uuYMlPOG16yCowRuy1iLB8UFXE9DmP1E8IEcgyB2sKVpHOuaqPBzuCCI4kdHDVh+ii5N6+WYO4m2PvHd5AVDVJFENoEB0gg= Received: from OSBPR01MB2920.jpnprd01.prod.outlook.com (2603:1096:604:18::16) by OSZPR01MB6765.jpnprd01.prod.outlook.com (2603:1096:604:130::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16; Thu, 17 Jun 2021 07:51:21 +0000 Received: from OSBPR01MB2920.jpnprd01.prod.outlook.com ([fe80::b985:8239:6cf0:1228]) by OSBPR01MB2920.jpnprd01.prod.outlook.com ([fe80::b985:8239:6cf0:1228%7]) with mapi id 15.20.4242.019; Thu, 17 Jun 2021 07:51:21 +0000 From: "ruansy.fnst@fujitsu.com" To: Dan Williams CC: Linux Kernel Mailing List , linux-xfs , Linux MM , linux-fsdevel , device-mapper development , "Darrick J. Wong" , david , Christoph Hellwig , Alasdair Kergon , Mike Snitzer , Goldwyn Rodrigues , Linux NVDIMM Subject: RE: [PATCH v4 04/10] mm, fsdax: Refactor memory-failure handler for dax mapping Thread-Topic: [PATCH v4 04/10] mm, fsdax: Refactor memory-failure handler for dax mapping Thread-Index: AQHXWN/GSrgkRDCn3kC6TSUqXiwioqsWQI2AgAGbqhA= Date: Thu, 17 Jun 2021 07:51:20 +0000 Message-ID: References: <20210604011844.1756145-1-ruansy.fnst@fujitsu.com> <20210604011844.1756145-5-ruansy.fnst@fujitsu.com> In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: zh-CN 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=fujitsu.com; x-originating-ip: [223.111.68.150] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ac269a3f-5c0b-4991-1e53-08d93164b273 x-ms-traffictypediagnostic: OSZPR01MB6765: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GCB0o5CKRBJ5VlgY0WjkTCum3Jldl6OMR1l9vSIhiFeJ2EQ4TvI/8R4bN4Vs/32JfR/FqWA8RE+DqUgMQDuOPTBDjA/znBrEWy+gerCCzxp7leQ2l4Gg2SD5nD0wG7okoY33lNgFdNtRVvyvpsRpy7U1jO5gADWQqP/wOZRvv7s5ZrjmeJpyWWyvH96Vrs+osIfQu6J/e30buFCUyW/v26DyTeIK5g555Kz41sR8kWd+Zbpi2jyfornf0OWGWV3bJ+udfX2AUNPkQH4kxFPp0jPUfYASeyZzg28wX2fhI0vIETl2PbOYZQVJ81klGRo2/jv3KmDJNKNUhvAV9OV6FriGHkLDqJvssMvaVi2af/oWJ950Rve2iSI1A24Onnw3t2tsRxgZZNPOlMjYnnar2UWnWu+LBwBEntUFoQRud7uo4cxPMY+zaxMcXq8ZayaNZSg7wP+WbpybEcMzCXXV55TiFhsBY+1WqUwW3+oTRHcIjkGgZnNMooPnpEOWvdcI56r9F7Qwep8Ua2vEcyK5cM3CZJtzNTT4IRTfLqpOmueVvm9vuhxYLRoJJdptU+GKSHDsw5U0K6/QS39tN4PHuZLFOLGO6FLx/56SdYUcJZs= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSBPR01MB2920.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(346002)(396003)(136003)(366004)(376002)(6506007)(7696005)(76116006)(9686003)(55016002)(53546011)(186003)(33656002)(86362001)(122000001)(64756008)(85182001)(6916009)(4326008)(66946007)(66476007)(38100700002)(2906002)(66556008)(66446008)(52536014)(478600001)(7416002)(26005)(8936002)(83380400001)(71200400001)(5660300002)(316002)(54906003)(8676002)(30864003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OWJjRVBtblYwVERROHFzRXBQckJVV2FjdEVxTjdyK2JaaXJ4WDdDRE1BVnJV?= =?utf-8?B?QTVUTHdnek5BcmFsTE5EOFl5Unc5dGFUMzVTOUdZT2tnNE9ZRjh6Rkp2cWIy?= =?utf-8?B?UXJBVTFNZjJVeGlSWE1uenhhRnNNMTR2RW9GeTl6Slg5dWM3dEM3Qk5RVTBY?= =?utf-8?B?ZHNVRTVENHE1MCtXSHJoN2xYRmhhVUU0L2hvdll6ekM5eFRDNjExODBtKzBo?= =?utf-8?B?K0Rpdm5WVk9LdHR4c2c4OUw2OGhpZXVycXJpR1dzZnN5VGpiZGgyYUVpZkZP?= =?utf-8?B?eElzbFZBTFRIY3ovS0t4UkFWS2NaN0UzUGcxcEZWOVdqUFJlL0xMN1pBczRU?= =?utf-8?B?dkNoRTd5MTVqMlM4M2dpTHdjNGNMQmpmN08yQUFlb1VjbnRKa3JDTW5Gai93?= =?utf-8?B?RjZDYVNCUEdyTllqakdQZGllSytic2lOeVBYU3FsazVPMnBaVFZ6S2VQT2h5?= =?utf-8?B?MVNEZHNHb3JMbENJbGxjUUFmZmVwNmczaVQyUlo4NlNPWlVTU050U3pDRHVD?= =?utf-8?B?NDlsakN5RmRBMWtJSlNkTGNKSlZKL3c0SEJsRm4rK3E4K1NOamJJVXVGYUxI?= =?utf-8?B?SmVWOWFBQWN5TG5qRnZ1d3Zldm9sc3RtOGpvVTRPSjZCd05zR1hnaHFPWldH?= =?utf-8?B?NlFVUVpBRndjcUVjSzBVNlkzbEVLYTQ3UFZ3YkltajVNRm9qc3BTbWZSM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2cGl6cHhNa05N?= =?utf-8?B?RHJzcGJLcTQzY05XdlhnY09VTnNQNm1zc3RGRGNDalRwa2RaRm1JZllWenBL?= =?utf-8?B?SHZQS2M0Tm5xcXU5SmVja3FGc3V4T1F2Vk8wKysrVGF6eUQxd0MzYVIwVGJw?= =?utf-8?Q?2JoXleqZs7FRIuhIBDfbmBakVRUi+BygvppVy0i?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: OSBPR01MB2920.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac269a3f-5c0b-4991-1e53-08d93164b273 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jun 2021 07:51:20.8696 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DZQIPoR4g/AvkSYlg1o80WyriqvyL3/rd/2uIOwkyXdl1BrD+0gFdCddkGUruBPEJ7V4MBFLFQx7aOW9AxLRCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB6765 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBEYW4gV2lsbGlhbXMgPGRhbi5q LndpbGxpYW1zQGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtQQVRDSCB2NCAwNC8xMF0gbW0s IGZzZGF4OiBSZWZhY3RvciBtZW1vcnktZmFpbHVyZSBoYW5kbGVyIGZvcg0KPiBkYXggbWFwcGlu Zw0KPiANCj4gWyBkcm9wIG9sZCBudmRpbW0gbGlzdCwgYWRkIHRoZSBuZXcg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pDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgc2l6ZSA9 IG1heChzaXplLCAxVUwgPDwgdGstPnNpemVfc2hpZnQpOw0KPiA+ICsgICAgICAgaWYgKHNpemUp IHsNCj4gPiArICAgICAgICAgICAgICAgLyoNCj4gPiArICAgICAgICAgICAgICAgICogVW5tYXAg dGhlIGxhcmdlc3QgbWFwcGluZyB0byBhdm9pZCBicmVha2luZyB1cA0KPiA+ICsgICAgICAgICAg ICAgICAgKiBkZXZpY2UtZGF4IG1hcHBpbmdzIHdoaWNoIGFyZSBjb25zdGFudCBzaXplLiBUaGUN Cj4gPiArICAgICAgICAgICAgICAgICogYWN0dWFsIHNpemUgb2YgdGhlIG1hcHBpbmcgYmVpbmcg dG9ybiBkb3duIGlzDQo+ID4gKyAgICAgICAgICAgICAgICAqIGNvbW11bmljYXRlZCBpbiBzaWdp bmZvLCBzZWUga2lsbF9wcm9jKCkNCj4gPiArICAgICAgICAgICAgICAgICovDQo+ID4gKyAgICAg ICAgICAgICAgIHN0YXJ0ID0gKGluZGV4IDw8IFBBR0VfU0hJRlQpICYgfihzaXplIC0gMSk7DQo+ ID4gKyAgICAgICAgICAgICAgIHVubWFwX21hcHBpbmdfcmFuZ2UobWFwcGluZywgc3RhcnQsIHNp emUsIDApOw0KPiA+ICsgICAgICAgfQ0KPiA+ICsNCj4gPiArICAgICAgIGtpbGxfcHJvY3ModG9f a2lsbCwgZmxhZ3MgJiBNRl9NVVNUX0tJTEwsIGZhbHNlLCBwZm4sIGZsYWdzKTsNCj4gPiArfQ0K PiA+ICsNCj4gPiAraW50IG1mX2RheF9raWxsX3Byb2NzKHN0cnVjdCBhZGRyZXNzX3NwYWNlICpt YXBwaW5nLCBwZ29mZl90IGluZGV4LA0KPiA+ICtpbnQgZmxhZ3MpIHsNCj4gPiArICAgICAgIExJ U1RfSEVBRCh0b19raWxsKTsNCj4gPiArICAgICAgIC8qIGxvYWQgdGhlIHBmbiBvZiB0aGUgZGF4 IG1hcHB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