Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7706312rwi; Mon, 24 Oct 2022 19:17:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4USgWByrpMZA99U91emrGvqb4DKVvWaGc3Xwu7wwQgSgXfuFF7NHSEkRcdiFuUfTClH+DB X-Received: by 2002:a05:6a00:178c:b0:56c:93c:443f with SMTP id s12-20020a056a00178c00b0056c093c443fmr3661484pfg.76.1666664256851; Mon, 24 Oct 2022 19:17:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666664256; cv=pass; d=google.com; s=arc-20160816; b=Rp57HCAKNJyRPhXirXx1QTo2y4NZIQlQA+saItdxfONGhIhuZy9IHSPtqDF6NTRcri Xa3vq7qZ4GyXglAQwuDSJ5xWxqIu0FZnBfytQALMbHuUVwlN/ChQcq7qWuktY3sO0V3a YVkympOlcNp4rvbYYVu9qrqmHZ2jO1PUXsQqyFWMuY37iIK6V/bx6Tdh9WjfrXG2QtrK IKL79ffstIrqMBI0iL5dadk7suPyLnVyLqP65KZcE7/ITRQ1Gu0wA2WP+a0x6q9k2KBX yEIEEgto96TCJtxXF/HMcj+1WVXKZQsEzN2Y9+KD7aQ4t4LYtbTYQQ6j7Af2FXhgbIYN mkTg== 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=IZa79dephRHEJYjYTFtMQpnvTcmhwqiQhNVYKG1WjNA=; b=psjBQUwMibYbE0ASsFFzkvQcrT2gKdvXisF5V4Iaor9HnZG+ps+AF1zuo4T0C+gdJy WU5lvwnxVXp3qyUWRWK1MQ5VHfOTmOYK8kMzgfmYLn/SzynTQO6wJRuCdyYiznOQwV1t yBevWUit2HD+SMrpFm99EmzJeG3vmUK+oZbgbCjMXSevcrMJgOmjotVvbR1FQzPvPvFU K1o4crPxjrBVj193yM2x2FlSbUmvajQ0X9GPZAJz19dl4fdDwGfV/TSYPbYQAtAaIjao Azbu+94ZTvtJuMI2sWEeGYl2t09GjQ5gQolGPz2quSheHTu8XjiwmOw0oorwGHyJSHyP 3bVg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=RSTO1RxA; 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 r138-20020a632b90000000b003fea0415b5asi1286054pgr.834.2022.10.24.19.17.25; Mon, 24 Oct 2022 19:17:36 -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=RSTO1RxA; 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 S231576AbiJYBaZ (ORCPT + 99 others); Mon, 24 Oct 2022 21:30:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231558AbiJYB37 (ORCPT ); Mon, 24 Oct 2022 21:29:59 -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 89CB7C821C; Mon, 24 Oct 2022 18:06:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oIeNtvrYHygoG7D03tu/XAe4Tt/qls1EHkzuS35tloH8BhoXL2J4b9s/6YzuGBVYjiB6BR9WDCCZ85uF4lSvcijl/ecdYAWQNQtRjLd5Qf3aPHHNMPJxggqrpHpMrFWX8E5htBHNzOaKm1aQw6tX15aedTmpzS4wQrk0day9hKdEAxzhjcamVe18JO7BkDO6WMFWO2aUuLYJEK43q3ZyvT7bjXI7x5nG+6xtMtXdMrpROKw2467k5qBP5AaUlfn/tePkK0xLj69YH7S1vNR2wC4ir1qnjXk75XKuM2E2LaPs9V21NaRD8vssY4rUP+G1itWXpiZu8GMLmqMglO774A== 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=IZa79dephRHEJYjYTFtMQpnvTcmhwqiQhNVYKG1WjNA=; b=j8pcb58f+8zp005YRZlrFtX0FT3L0zKlsfvRtw0mmLPIEx8XMetHVsUKRJhP9JwQvpcRGZqHP9EWhk3zeUOF6uMGEPav54IE4wnm4lzo1JwG+FJBVXqTfiWfEXMRnvweX8manXt6wUP/CiIj3J2ZlhckHYvWViF25WKRbnmzH4DCwrYBC+nthPlV/z1hnlkTT0IYwkGyhF15lxWf97ZpZr4rhJ2aLAqPnqt9Of3FliZvFSptNzUY67RGypY1ln3SpFJudHKwD4CBmP7wNqs55BOnHfSU7+kWFofDmnsyws+HvF1IWtk5psUeWqXcsJ+vQ22MYac0Cr70dN8GrAnCgQ== 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=IZa79dephRHEJYjYTFtMQpnvTcmhwqiQhNVYKG1WjNA=; b=RSTO1RxAr+d9juO1cxwbEtkzQi2zzlu53dj4DI5rl9k0gtYIS0ZmV/vSpbBeCHxWZtGgDUAv/756cX7JUuEc/pqMOdRkzEY7QREn3mNgMC0PBtJzQTDK2BEFiFwj1DhdKtyejXdyGz5DziDDum4An9YAEYP1qMmtBfDr4XU3Wk49NFXqDfd027bPJj4hWlgqkSNB1lUZxVLyrbmyd+VfYeKejDfUFE2kKPg1yBMDLOuAWcdGwb78R871lvUmm7SnsMsLRFikiSU2v4McxEaUSHrKfGC0c94xEbOuwEBkP9Lvrfq0IvFKv4WDW70s1uXtLinUNBuU68NK/FUieLhNNA== Received: from MW2PR12MB4667.namprd12.prod.outlook.com (2603:10b6:302:12::28) by BL1PR12MB5947.namprd12.prod.outlook.com (2603:10b6:208:39a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.32; Tue, 25 Oct 2022 01:06:50 +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:06:50 +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 1/9] mm: allow multiple error returns in try_grab_page() Thread-Topic: [PATCH v11 1/9] mm: allow multiple error returns in try_grab_page() Thread-Index: AQHY5XRhl0xU4gKBX0OUrinPZx6EA64eUTWA Date: Tue, 25 Oct 2022 01:06:50 +0000 Message-ID: <32dc3dd6-5d44-e1b0-b716-4ea52187fb4f@nvidia.com> References: <20221021174116.7200-1-logang@deltatee.com> <20221021174116.7200-2-logang@deltatee.com> In-Reply-To: <20221021174116.7200-2-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_|BL1PR12MB5947:EE_ x-ms-office365-filtering-correlation-id: 50ef498e-43a5-47c4-dc52-08dab6253288 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FA4mvBU47WYnrCY5xfjIevswboq1rmEs0Fa5Psl8gGPrbKO1Ui4os4R+Fr/0bHD4e3Ow+9O689WYeCTF32K+sCfkP98UBeY+ie2faNKNBlRlZ5QYpkrmIyR0aMQWmM4KFuppOjsejIlDoJnsaKRNNn/rhRSy8V/d85kQWS3DfUsAALm/tk/LKIRxi0/oDZPk7dFlBSYia5YqiYFlkeJmuVsDX8vJ9APWGSWRBt3W8SXTfh4j5h0tmoplg4WxI5UxO1NlOPHUMaV1LxrcjElftTRY5unnQGbTwRLtC6u+PJZUMx3lZTaD2Qt3YGi56KgI+PHkA15bDoIokY+QUchj1EPzOP0PVeSgi61woWtzkcNm5fSrYOT/XVvXpuMxuK2saWx8DEZdtlc5eFwDi3syj7LVKAtzV3/a5HsYssahAGUggnPbyLMjBn2wenfeXvKPD8h2jTJVUcC9kI8pwwtEq5HF4br+D+oiyuYUgw1uaQF0K65jQIzNtzI6PZxGHhXNnV30Wgt67rvSaZH0w58l+IWuwUVTNWvRKTYdgcB8J/PlVjGl29Hy4Oeq+fzfqQf258z3UCbhESEmj55Id7j5Vvz8rggwLplSoboiyLO11egoNXYDn2Z5F/0FwwXxyehKtGnNa3+ePVrUWhZBK4Y5jsGkzl8Wu6ZO6e5LF6P/5Xr+hq4Jdcql1PWjOSZy9/qFz/Dt2Aul+PMWT7jAylxs4u4QNGO10pLPpMOGyPp2JFfhoHVD4TSmV7MR3lLWeu/lBkdEDXWCPf/SlCqQ4qngo493TyNW3ZXUmU/kOAaQH9CWmZGm4hUpRl3Jbiao9RozAZ9bFCvGHQ2a2/CJaEFz7w== 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)(136003)(376002)(346002)(39860400002)(366004)(396003)(451199015)(41300700001)(7416002)(91956017)(31696002)(66556008)(8676002)(6506007)(66476007)(66446008)(36756003)(86362001)(38100700002)(5660300002)(76116006)(66946007)(2906002)(4326008)(6486002)(83380400001)(8936002)(64756008)(6512007)(38070700005)(122000001)(186003)(2616005)(54906003)(71200400001)(316002)(478600001)(110136005)(53546011)(4744005)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?U1luZnllbVpyWGM1MWxRMWRWVzZ2SE5jUWU4ZTZ6THo3eHJ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B?d1dVZ1dMTkw4RDkzSTVibjFldkh6Q0VXMDNqbTZDQy9qR3RSNlpYN25BRFpK?= =?utf-8?B?Rk1TWEttZEVVd1pFbVMwa2xON3M1VCtjcUh5eXVEWVJ4VmE4YnZkT3BoVURW?= =?utf-8?B?Y0dqNFRNcDBvSEVpTE51NWczZUJoMmVtUTZkZTVmenZveDFvc0RzWTVYN3Ex?= =?utf-8?B?cFVxK2ozSEFkQUk5NkNBNDB4T0lIZWMybmdWK01LUWpJYzN0N1llVnRBc0Nw?= =?utf-8?B?WWhsRTJ1T2szZmlsWUxqTVk4bjl4OGhBVHZhM3h0UVNKMmdhdUVYR3g5QUho?= =?utf-8?B?dVBVN0JYdGpYZGYyL3ZDTkY2eitmckROcWRrbFUyTW40ajhsYlRZL1ZYaE1W?= =?utf-8?B?YUE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: 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: 50ef498e-43a5-47c4-dc52-08dab6253288 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Oct 2022 01:06:50.3909 (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: bvmjnLIcLRGSVdbJ4ohlr/+tLelTBcDQotYKopmCoCWlNyqEArtq4FZICIUpwcrKd8eBM0zwoWEmHWfzA5+FBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5947 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 T24gMTAvMjEvMjIgMTA6NDEsIExvZ2FuIEd1bnRob3JwZSB3cm90ZToNCj4gSW4gb3JkZXIgdG8g YWRkIGNoZWNrcyBmb3IgUDJQRE1BIG1lbW9yeSBpbnRvIHRyeV9ncmFiX3BhZ2UoKSwgZXhwYW5k DQo+IHRoZSBlcnJvciByZXR1cm4gZnJvbSBhIGJvb2wgdG8gYW4gaW50L2Vycm9yIGNvZGUuIFVw ZGF0ZSBhbGwgdGhlDQo+IGNhbGxzaXRlcyBoYW5kbGUgY2hhbmdlIGluIHVzYWdlLg0KPiANCj4g QWxzbyByZW1vdmUgdGhlIFdBUk5fT05fT05DRSgpIGNhbGwgYXQgdGhlIGNhbGxzaXRlcyBzZWVp bmcgdGhlcmUNCj4gYWxyZWFkeSBpcyBhIFdBUk5fT05fT05DRSgpIGluc2lkZSB0aGUgZnVuY3Rp b24gaWYgaXQgZmFpbHMuDQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBMb2dhbiBHdW50aG9ycGUgPGxv Z2FuZ0BkZWx0YXRlZS5jb20+DQoNClJldmlld2VkLWJ5OiBDaGFpdGFueWEgS3Vsa2FybmkgPGtj aEBudmlkaWEuY29tPg0KDQotY2sNCg0K