Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp650945pxb; Thu, 24 Mar 2022 04:36:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyQA+cYnHsmj6Pz4RuQ5Zu+azrb1+zWXImd0z8J69iuss1I25RDGYJW8sT33KGhNxXYN8/ X-Received: by 2002:a50:baa8:0:b0:415:b0bc:6353 with SMTP id x37-20020a50baa8000000b00415b0bc6353mr6215708ede.220.1648121763923; Thu, 24 Mar 2022 04:36:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648121763; cv=pass; d=google.com; s=arc-20160816; b=DxPgXv2lRAOtDqOotrJfGcxA3oKQLLsbE99oqHsiecbEIy+EvC8uf+VxqvUR+vhGux AFh/8Kbw3oncEvSCkV3Zj+6OhjzAv5AJpJxBc0GORHEi7+YSNI9qPzNoqaQ1fX6mc1GL gBdhREN8VHPdLg48hQ8+OnwD3niJFSWx9iAqOPzwSxqe0bdgmxCbNKbcX+SVa42VXHu+ qPbYTTVpYMlREGrQr25iVA1lM5azgIU//DQcuv8exM+eXA/6LVhvw4xvBdq/b4fXXErl xxpbqqp+iVuVTdxH/qkDqU6565ClAYq3Cty9GnjHT27aNVahQIp5gebcfxsW/cWbZrQB WciA== 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:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:dkim-signature; bh=cqSm+Y2F6Z7PiCQBgeoLfYE8XkYHha8gGj5oQAluJKM=; b=vo95vMnrMpQO3QkgG8UBbHWz9DjhtI5VOhLtHFnnp0fAIxr4C3nSaodcBSxtpfOJTL wctsh74D0yfG2MViPSJ1a9/EsAr3jvfNkuWh0+sm0v6Tpu7JoKBkPqiB9nBdb5sqDEIF mkpFazvE3Ca1lZq0SL4h2xBGCyQ43IgCA88X2OnNepG7Td7PPjt2wFNz9xQ+pJqndkWU 5Nb5POQJpFunvy6SrU7zhpNSBO/WCY8CqmIo2IkHX0WP54lkAYmmiYv7K55uO2LEcDqb qZfEGXR5ka3bFRecf0V8eO/mH+CZ7bAVJ7ynSljjSBxGISn8PGSHuevRFY4IxGmR44zw D+kA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b="vdhFke/c"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jJZWFStn; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020a170906208700b006df76385e2csi16894374ejq.716.2022.03.24.04.35.35; Thu, 24 Mar 2022 04:36:03 -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=@oracle.com header.s=corp-2021-07-09 header.b="vdhFke/c"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jJZWFStn; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); 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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240624AbiCVXr2 (ORCPT + 99 others); Tue, 22 Mar 2022 19:47:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238274AbiCVXr1 (ORCPT ); Tue, 22 Mar 2022 19:47:27 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68237532E5; Tue, 22 Mar 2022 16:45:58 -0700 (PDT) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 22MKxOsj017238; Tue, 22 Mar 2022 23:45:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=cqSm+Y2F6Z7PiCQBgeoLfYE8XkYHha8gGj5oQAluJKM=; b=vdhFke/c23MnQLAumQf1uDpzV9uOTXYAg0oBkCktaIsuEe0RNhC8dZmvETarxAyU84L0 G9XYPH+LM08lImxnr+74boFjS7TZK91A0eYwXZBYc7IG3cFfaWGCsEhV+bQ7oep0cSM9 YaDp4xCTX0F3XfX29OxG93HL43RRypNiM5NSaEEsaVol2X2Icv5SQ1yff8OClfnwlLY9 pFRKOs++Uule5WM09wXVxJ+6+Bv0xP2DpuqjHkCKvrSn04q+kDQlIcCMhR8b/MHJrAxv DBaY9alpNiQw2r/o8BHKZmodEJbFvIRrPYka0VeE59+zvM4OLiWf2xqOY42l7uiuYocW QA== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3ew5kcqu8x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Mar 2022 23:45:41 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 22MNaOZB087024; Tue, 22 Mar 2022 23:45:41 GMT Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2047.outbound.protection.outlook.com [104.47.66.47]) by aserp3020.oracle.com with ESMTP id 3ew701dcs1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 22 Mar 2022 23:45:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hdwmX9emygoSHm+H7gNUjV1jg/NIf2mqsAQoI1l9HOTOm/fKIfzVxgBisV1QO5ABs5XGeiypVYsBQzb8HUCOP6fWwbsdT/cSC4NVVK/j5b6tP1EmUI5wnLFuGOgoBQvLUvts2G7KZtDaIIQuLt2izavhlYtJcyC08eF+TcsghbB2Xb4/kKYut9UClA5l84m+nhdO5zRPFGT3fGPEPY4JiqmzFvkAIdYuOFqfAfBFT8HF7wEGLDT13EFM8gyun7TVNm2PbsUCfjrMqBSzrAdVb+Oja3GbTsvkGuEbsoSydHAupucJF9PyFAVcdIHycXP4IdUCzrXzlXr6UwMIDzJHdg== 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=cqSm+Y2F6Z7PiCQBgeoLfYE8XkYHha8gGj5oQAluJKM=; b=ll/j+HOHayzyO5JZ3FTaLKtH7lUChiTqrVLQ1kMPvbIQB3/NXcO8SyC/t6tAr5yFuI6l8NIKpH7EG51CwxIqpDU3JzRgoJR/l5FgAXEL1aFNvXFIrAnaCUlK3FD2iAIXjZW/SqiOS0M4+AzSHQHCOazXP/vU4YB9U05qRI7zUgEGb5b9GcaiT0NCCXoB0nhkapNFdTYAU2LAgNYBfUw7W1s12o+LGNbJy0IzhR6uXYDe0Ga3pvgd4gm+2wBPoTY1Qi5Okss8oyQSQeocMAKSdTLTi68ezP7+wyT18bdF4lAWcs7r6YNII9H2SQC9zdC3PVBZzmpavVuFFaZGWKD6UA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cqSm+Y2F6Z7PiCQBgeoLfYE8XkYHha8gGj5oQAluJKM=; b=jJZWFStnk5gSQ7KfImLHgeyfkXPNd0Slu2N+spRWt5jmVOe4izQnC7czJwKH+S38K51dECRfgZ+fAN0prohSWjPcT6LxV4NksEx+SZujn4bpGUuRZYBIEKXIO9RVcUTd2iGp7hIR6PwwVt7EjAegFTRbIZuDhESpWjMAdnkLY/k= Received: from SJ0PR10MB4429.namprd10.prod.outlook.com (2603:10b6:a03:2d1::14) by BN6PR10MB1876.namprd10.prod.outlook.com (2603:10b6:404:ff::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.14; Tue, 22 Mar 2022 23:45:38 +0000 Received: from SJ0PR10MB4429.namprd10.prod.outlook.com ([fe80::2092:8e36:64c0:a336]) by SJ0PR10MB4429.namprd10.prod.outlook.com ([fe80::2092:8e36:64c0:a336%7]) with mapi id 15.20.5102.016; Tue, 22 Mar 2022 23:45:38 +0000 From: Jane Chu To: Christoph Hellwig CC: "david@fromorbit.com" , "djwong@kernel.org" , "dan.j.williams@intel.com" , "vishal.l.verma@intel.com" , "dave.jiang@intel.com" , "agk@redhat.com" , "snitzer@redhat.com" , "dm-devel@redhat.com" , "ira.weiny@intel.com" , "willy@infradead.org" , "vgoyal@redhat.com" , "linux-fsdevel@vger.kernel.org" , "nvdimm@lists.linux.dev" , "linux-kernel@vger.kernel.org" , "linux-xfs@vger.kernel.org" Subject: Re: [PATCH v6 5/6] pmem: refactor pmem_clear_poison() Thread-Topic: [PATCH v6 5/6] pmem: refactor pmem_clear_poison() Thread-Index: AQHYO1qtZS40sRPvMkmJ+l2u68rXNKzLHcWAgAD5YYA= Date: Tue, 22 Mar 2022 23:45:38 +0000 Message-ID: <20fba522-c978-8d6b-5498-8e768897a129@oracle.com> References: <20220319062833.3136528-1-jane.chu@oracle.com> <20220319062833.3136528-6-jane.chu@oracle.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5232691f-e6c6-494d-abe9-08da0c5e1152 x-ms-traffictypediagnostic: BN6PR10MB1876:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CQTRBg1ppE7EbOTZV37PHHSUunoAwODf7ZMoNQq60wNNboTlP2MEdQjRUN7craFjGFhoi/HjYAJ6l99kf4hkdHrTBiY0zO3BvGn3OQWkXWsE6Ylroq0mOSjzJL8THfAexp9ciCR1vvqJCTl/VA9Th0yOJ9XnXeojhn3xqZkoWs3cRVvOrlAk+r97fOTg6ethPaNqMKOychD8Hyw5gg8l0vH07Tm1ywjUoNCaS62D3XeCkw6wQAQPx8Y2LqBShXukSCRRcpgq8Tl6YMGZnrO5Ch7lWoRyEOvFBGzS5K1JTwfDwp/IW1RdsdKBkhBP+yuKsAhdCeJIgd918aVn6wnh24lHOtWTPLjpkoJo2F/22YPkPX1q8/fpzGr+vKqdUuPxW1cM3Ba83DItXoLyUeSDPyyHQks2WZgQatTCYASJm5/FdxycHqj7i6xXatj5k+cZfFIxHKT5f+rpA24yP85992zjmEhxlR76MyILyr/LdCQndVTGAT1dm5aWYz5w7dEUUgG7wl+uBwow9c7PpT73NKIqeofclExTQfXVIZ1X4GkP3whOrVxE9koV4xAb73eL/qH04+CXZnXQFv7Lw/aCQrsf4xvG5D1yBsFKdXBdkaaaXgnel3qpBVa3bN0dkE1rHPo96p8yvgRH9It7yDv6bAVuVaEKgDZe6rrsg1nDiP2ekaq9YQAktrjXjGd5ZwIEkFg4injjIf9gF3159so8NPlSuskaqtFwXVl6QV9M+9jb2irgei1Pw45zdaHJ/Ih/jaGT2yNL2AesC3898bAi8Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR10MB4429.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(7416002)(5660300002)(8936002)(6916009)(54906003)(2616005)(316002)(186003)(91956017)(38100700002)(8676002)(64756008)(66946007)(66476007)(66446008)(66556008)(76116006)(122000001)(53546011)(4326008)(6506007)(83380400001)(6512007)(71200400001)(6486002)(36756003)(508600001)(38070700005)(86362001)(31686004)(31696002)(2906002)(44832011)(26005)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Q3QyNXJQRmtIMWlsbjVLUFFLUFI1WVpOd1JTcEdHaklsQjAyS1B5UFJJcHp3?= =?utf-8?B?UVhaanRIRGRwajVIWXBlQ0xhencrRFNVNVhFTjBHK0I2VDJPVFFWUk15dEow?= =?utf-8?B?UlEwNCs2b3FydiszZ29qbEp2YjNZNnh5MnIrZ0FQRUs1Y3E2cnNtWVF2Tm5O?= =?utf-8?B?OTF6U3F3MlplV0NSWGR5YklDSVpCTk5JMy9BZ296bVNjK3RHN0NtSENIcVNK?= =?utf-8?B?VUlWUWJadk5Dc1Z2NXhrNUdoQURMRWRpMm1HbnVKYmNhRDUzQ1JLeTJJUjl0?= =?utf-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zcGZxOU10dnRU?= =?utf-8?B?b3hvVXNQU0l2ZWI0Rnl6cFc0TDV6MURoSnBQb0pDdE5sZGlncVlOOTA2WGcy?= =?utf-8?B?ZTlhODltQUpUS3RKSmNXK09udHluQzQ1Wi9IcFU2NjVPM0xiV3ZLN0RkaGxU?= =?utf-8?B?ZjRJSHYwaDhsaXRldysrMHZGc0NjUVdqbDU2VjZzRzNvMEZFbkh1aHVCeXRm?= =?utf-8?B?Zm5RQi9Ta2twZjdvMnpudVZXd0dJVm9wRm1RSjZzN01HUHRndGcreU9DZThF?= =?utf-8?B?ci9DUlRGQnVMYno3YndPeTF1S09hSHFiOHVRVHFCTkJHTzNDMFFTem9UNHgv?= =?utf-8?B?WjdEUWZ6Qk5NVGpGR3BwM0RVbW5wSUl4Uy8rSmowck52MUlpY1JCSEM2OCtL?= =?utf-8?B?eUwwVlhvQ2ZKRS9uMXBLY0k2RjBJbTUyN3ZTeHBRYWlSV3NsenBzU1RqRmF0?= =?utf-8?B?enZibG52NUVuODFTcEoxWlZTS3JXczd6Rm43WnlpOHgwS2RoZzlJTTAyeDhD?= =?utf-8?B?eVVQb2theWsvT29tREVSOXVBMXZ1OHhMMitBYmhsYzVlOWo4Ym9pZTJBSFZh?= =?utf-8?B?eGRwb3BvdTRUelRYVnhvWVpnYXB3bWhVd0RsVS9nMGk1YmFqNHVXTlhrTHVi?= =?utf-8?B?MER5UElxM1J2RWNZYmJwN0lkRDdqYXpEWHdzVy9nSXF6cWE2SnVzcVZwMWFx?= =?utf-8?B?bFVTQVBEODRTVUtINGlqbmgzaEk2WHB0QjRiRTk5bE5RemFYMkRRWi9RSHVo?= =?utf-8?Q?hB7AGn1GoSWxiC7+3/uhSqBoMPFe7Yyu?= Content-Type: text/plain; charset="utf-8" Content-ID: <873A5AE97FD1CA45A1362A287DBE5C30@namprd10.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4429.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5232691f-e6c6-494d-abe9-08da0c5e1152 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2022 23:45:38.3123 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qiNjwg9cUpAIoL5eBWDHxeu4J6G0j64oteUBkXuysaCChfRgbaF5RiftX4w4hnwIdr+N1c7uS0EZ/CTcCjvg0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR10MB1876 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10294 signatures=694350 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 malwarescore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2203220118 X-Proofpoint-GUID: VXWfLBM5RgYvil34TaZkgkJ6ebVTSQwu X-Proofpoint-ORIG-GUID: VXWfLBM5RgYvil34TaZkgkJ6ebVTSQwu X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,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 T24gMy8yMi8yMDIyIDE6NTMgQU0sIENocmlzdG9waCBIZWxsd2lnIHdyb3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