Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7709720rwi; Mon, 24 Oct 2022 19:21:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4u9WI3krsGqYxEFT+biNQA88IVyiciRosXDwttU9vSUDPYSrcfH86WgxFGnGB+imb/wnU2 X-Received: by 2002:a63:5d5e:0:b0:46e:e85e:f369 with SMTP id o30-20020a635d5e000000b0046ee85ef369mr11677052pgm.619.1666664511618; Mon, 24 Oct 2022 19:21:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666664511; cv=pass; d=google.com; s=arc-20160816; b=xPX2dRKobVx4L8CPlzemU1EzjIeHDlblTiIuXM5OYIH7/M/+C6PwwDX8Ero2rEedqI SP3wSS525ygpE2Mh3QYfrJBRdKJjI8Bm64CktyHrYUtc+9DqGsIPmh+0e1VOOr1wfVmM J8/I1fJh4zfEaTYLh9kho5QH4ro1rV5l7QqF3aXR6ILRmf4RKPDfGdqgtXFnXZOo+BvW /7+JumgVbSJAXnIGqy+Pai3woqMW08iahFF2rQUonKdTmrmtvhyyqnGCzIWDftWnHUHp pcn56+ZmRWFE0zfI8rQF//oXQ0BtFkheW/QaC1UqY4BOuNnCIyIq/ufO36dHAfjv7zBk eMIQ== 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; bh=l81gJNE+Sff5CtWx1DvhgJt2TlcOEigcP7uk9UlKATs=; b=nucoljqXRL/ZN3Oyia40D91NY7CL8Zwh01D9XNX/B7bJkKE0SI/q16i87axJ9s1o5e EnkbS3DQcCMyO55l6lyDAGFUbod60Dnn6n0ex0KGqHCqSpCEHECqbloKJQyhvBhFhfIM h9h8h/GXv9ieIUT1J8AisaCiAAaHXybDtZy3AUVwb/eOMYnaFqrjyb8+Kq5gwNHGNzGr 4yZCWqKXf/qHVZDejXsCOPG75v+uTC8+B6qasqtUuWbCDqt4kOkzOzPSUSGENIc4jTrj VWRD82U2TiYv0CB4yDMjCqcgx0AIEuSa2Jx8pcTowgnyX7+VLV5BINEQvmZCYMrBTy1v iIpw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=dfdwLCRK; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id il11-20020a17090b164b00b0020d2d8c9a84si2145210pjb.137.2022.10.24.19.21.40; Mon, 24 Oct 2022 19:21:51 -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=@Nvidia.com header.s=selector2 header.b=dfdwLCRK; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230402AbiJYBhv (ORCPT + 99 others); Mon, 24 Oct 2022 21:37:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231625AbiJYBg3 (ORCPT ); Mon, 24 Oct 2022 21:36:29 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4893D148FCD; Mon, 24 Oct 2022 18:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O3VpiWO4qMikx0OvKgsEda/0p3VtPMYX+xUj20l84kVRYgWEh20ZQlXEMeA5M17o7PyUoG8OPAQ5syveu9HELh3akVQ+DbaIOvN9hmAR2WWBSEUOl0J7NrOCzA7oMGWzsKT8Slrhk6nz25JFA0zw3sNxNy9WBF0nidyrA9YXZM+fzdqbHhvxg6neoe6eB6TMZJrLdXzvoJ7Zm3YTEf8iw/BNfHkAcHIdqTYf9pyGHA2mkjBZHw9l1LjMYrcolDuGnL/NSVSnM8ATHWdJBN8P5rtdwMloC5FJw0h868Ir+fdeRBG6XPkKayls+WxFN6nS9uenz0S2ZHo8ceD8CBOv2g== 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=l81gJNE+Sff5CtWx1DvhgJt2TlcOEigcP7uk9UlKATs=; b=WlI7s4aLtzgIyrhAI8VsSCkhRQU/3NJUmb6knhtMnohaIpFrimRZX20400bMBiBoOSLbZVjQaYwpL+DZwyrYJ2O0GvRGw3Wc6bV+F6Dg6J5ZvYQABAbSiBdugPu+YRCmGwnRbND/ppsBx6Smab+cu9G9C8m3lX5HRiihOcbi99yT8OtjkXIqkzzsO/MWWqbGf5Q2Zhi8s1hL/uUnAUZtsVkhlIB9zCr0K8MRD1W/lERLs2sYYml2EZGShoU6phNHVl0p3LU0V5RMDBqWIkj5nWYpdKvFMsgnksqY7V6S/B1ERqzXdHp9QHu1Y+gkIqVQPxnjxryTBEGh+KTl2RlgAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l81gJNE+Sff5CtWx1DvhgJt2TlcOEigcP7uk9UlKATs=; b=dfdwLCRKmUwtNyXg/4i9SGHUZIXA1xdeixyqtMrslZ6BWSx65qVJ6L8h4c39Xyn2mv7rOv87c3+ijdVJSnKUupTEiF7kg0g68UAXhCPRF9J/nw3sCyVA/smKKk/uOBGn01A1rt/PlS1F0ugMVz5/mbi143pwfz2zyNOkja8w9Hz2ZsD+TnhLOT0PjaBg0E0/++8+w3W/jqy2zpmRQM0h5dmEXJyeUyyOxHy/YQK++IKlhN2eNY62bLTGlEh+OlCkD1N8+XPJd10t/BQi30LQNdPcdqfSe+VNaqIZw6Hk99p0Wk1tELSEmvVJoeVmUrOfbAbkWxEsSNc7wJFRnM5uFg== Received: from MW2PR12MB4667.namprd12.prod.outlook.com (2603:10b6:302:12::28) by DS0PR12MB6584.namprd12.prod.outlook.com (2603:10b6:8:d0::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Tue, 25 Oct 2022 01:14:09 +0000 Received: from MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::1402:a17a:71c1:25a3]) by MW2PR12MB4667.namprd12.prod.outlook.com ([fe80::1402:a17a:71c1:25a3%7]) with mapi id 15.20.5746.021; Tue, 25 Oct 2022 01:14:08 +0000 From: Chaitanya Kulkarni To: Logan Gunthorpe , "linux-kernel@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "linux-block@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-mm@kvack.org" CC: Christoph Hellwig , Greg Kroah-Hartman , Dan Williams , Jason Gunthorpe , =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , John Hubbard , Don Dutile , Matthew Wilcox , Daniel Vetter , Minturn Dave B , Jason Ekstrand , Dave Hansen , Xiong Jianxin , Bjorn Helgaas , Ira Weiny , Robin Murphy , Martin Oliveira , Chaitanya Kulkarni , Ralph Campbell , Stephen Bates Subject: Re: [PATCH v11 3/9] iov_iter: introduce iov_iter_get_pages_[alloc_]flags() Thread-Topic: [PATCH v11 3/9] iov_iter: introduce iov_iter_get_pages_[alloc_]flags() Thread-Index: AQHY5XRe8TtJa6WtAUuYJ5RZS4jbVa4eUz+A Date: Tue, 25 Oct 2022 01:14:08 +0000 Message-ID: <929ac68b-cf07-8df6-e589-49b0576a50c5@nvidia.com> References: <20221021174116.7200-1-logang@deltatee.com> <20221021174116.7200-4-logang@deltatee.com> In-Reply-To: <20221021174116.7200-4-logang@deltatee.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW2PR12MB4667:EE_|DS0PR12MB6584:EE_ x-ms-office365-filtering-correlation-id: fb81984b-67aa-430b-cbfe-08dab626376d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Id+Ztb/xOZTisOBDrDPA4OypXVF+0vs7xLKpHj3vC511T0f0b/oOc1qSzyGVj3VSvmPEz+82gYLh90Gh/m68WcUAOy8HHWyYT/6i7ptkaPjpoJGEwvXJQQFnNPsAjYQwUEZd74hQytynSkrTR3jqo7i2mWteWIksBFYoNAFvQJM4PS8fNsGfjFy9oFgXMdIv+phDGBUF1fApxLXwT+whuJjFci03lPSld31gOHWCB8vhLKgS4h2ryehR9WZ5rzElKwA/qODgOprinGiibsupdCZP6ieXSepsL870nI3CqkXWW0zVedV+78tl4Oo6dO6jFlnIX1f/5njPDJhCrZM4vu7Wm+mVJp3Oj10yERb3fefY2qV0vxV4OBspIVjPgiFI8O2kG2mTOVagYTaFo61NdHIgiyT1z3eSil3efVDKpGPZWbDH85H1qC+l+cXjUxXuNkCSVpi5WXH7dc+4niTomqysv50yQeMPwigPeimTPEqHPjEXJxrWklxz6XKu7SJ3VUkr15o9WmZvmRHmuwNgDc9N1RrY41wIDW/Wv/+ne8RpRfkntGr/w2N+AWV/pEyZoNWhr45uoGytouAcphNKFyp7VX9V/5NFFFZPL65/pMyDiLaMuFWSpkdpyJ1/cj3GPIUg/1IZaEaKbeSKw/+vOWNgcIQcAyy2bdKtRENS1degq+rbz0yGkm+08mhf2CckkHtjjT4q7iYCo+ns7FRiKqu6gC2hWbFBCZLepYvVGeJ9NpkktuKBARSvs5/j9eAfWgJsfathWtbGYQTitxs0Z5W+HOxXh2ObYud1lyipqhhXvjY52e0qv9tvLaASXh/j0V4Dt6u1g7EYTnF8MdE/4Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR12MB4667.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(39860400002)(136003)(346002)(396003)(366004)(451199015)(8676002)(71200400001)(83380400001)(2906002)(76116006)(4326008)(36756003)(478600001)(91956017)(6486002)(110136005)(316002)(6512007)(54906003)(38070700005)(41300700001)(86362001)(8936002)(122000001)(38100700002)(31696002)(31686004)(2616005)(7416002)(5660300002)(53546011)(6506007)(186003)(66476007)(64756008)(66446008)(66556008)(66946007)(45980500001)(43740500002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?K1NicHAvdHJINDdvWUI1SEpNaitISk1rdTF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eGZ4RW50TlJrRndt?= =?utf-8?B?VThJcTI0SUhEamEzbVI2MVZhR210cEFDbjhtSVBxVUJPSEJtRSt4VVpqM1B1?= =?utf-8?B?ajVRNk5xUUx5WmJLbTJrVHhSRm8wYUhkTkx1VUZ0Qkx6WUpuSDd1N20rQUlR?= =?utf-8?B?QnlFRmpJZ1ZvbzArM0VQZmRYcFJlQkxWY3FwTThXeDJML0ZPNFVKaGxDUmVR?= =?utf-8?B?SkVIZkdoTmlJbVNPNDd4WURuaWdEN01mUEVzczZHNDc2Q2hpejFBSlBEMDdw?= =?utf-8?B?MW1NNWhpbzZsaE0ycEt1eEtKVGdhNGZQL1FOeHkwSG1LaC9FT1VsdDNzTFda?= =?utf-8?B?Z05GMTFpL25HZlNlRkJqTXcveDRKUER6WUJtdmFld1ZBK1dKelVEUGhyRXRZ?= =?utf-8?B?UVE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <9D3E6BA4ADE1684CA1781D1D18A2AD5D@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB4667.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb81984b-67aa-430b-cbfe-08dab626376d X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2022 01:14:08.1145 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Q4DSXBnOgMfXm7r7hIHxX/glqCEhSQpNjNWFTMDK+VbfGqZATfCLe2Tca8gPXkEsTawMI6ZIJUxTyfVhbWvYsA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB6584 X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_NONE,URIBL_BLOCKED autolearn=no 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 T24gMTAvMjEvMjIgMTA6NDEsIExvZ2FuIEd1bnRob3JwZSB3cm90ZToNCj4gQWRkIGlvdl9pdGVy X2dldF9wYWdlc19mbGFncygpIGFuZCBpb3ZfaXRlcl9nZXRfcGFnZXNfYWxsb2NfZmxhZ3MoKQ0K PiB3aGljaCB0YWtlIGEgZmxhZ3MgYXJndW1lbnQgdGhhdCBpcyBwYXNzZWQgdG8gZ2V0X3VzZXJf cGFnZXNfZmFzdCgpLg0KPiANCj4gVGhpcyBpcyBzbyB0aGF0IEZPTExfUENJX1AyUERNQSBjYW4g YmUgcGFzc2VkIHdoZW4gYXBwcm9wcmlhdGUuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBMb2dhbiBH dW50aG9ycGUgPGxvZ2FuZ0BkZWx0YXRlZS5jb20+DQo+IFJldmlld2VkLWJ5OiBDaHJpc3RvcGgg SGVsbHdpZyA8aGNoQGxzdC5kZT4NCj4gLS0tDQo+ICAgaW5jbHVkZS9saW51eC91aW8uaCB8ICA2 ICsrKysrKw0KPiAgIGxpYi9pb3ZfaXRlci5jICAgICAgfCAzMiArKysrKysrKysrKysrKysrKysr KysrKystLS0tLS0tLQ0KPiAgIDIgZmlsZXMgY2hhbmdlZCwgMzAgaW5zZXJ0aW9ucygrKSwgOCBk ZWxldGlvbnMoLSkNCj4gDQo+IGRpZmYgLS1naXQgYS9pbmNsdWRlL2xpbnV4L3Vpby5oIGIvaW5j bHVkZS9saW51eC91aW8uaA0KPiBpbmR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