Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1358893pxb; Wed, 2 Feb 2022 03:12:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeq0iTupD0XsIKqRzX+Vk1254t3BfGT9YrlkBGIWItZKnazYd/NFnabxucSk68hzAITQGH X-Received: by 2002:a05:6402:1356:: with SMTP id y22mr29551990edw.50.1643800369302; Wed, 02 Feb 2022 03:12:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1643800369; cv=pass; d=google.com; s=arc-20160816; b=Ch9ri3AOJ0sKg63LQLNIQLiu6aJKABkqGpoMiktAvmbtXXYRvi/F6ZT+4guyIj/Ntl UC2Ehv5hQOzsZppcZaPmR7Yb8wzGHhUGQn2FzlWSarPhvs+9RTUN2WtoMlDKKR0cfr09 Fq3Wta3n9VVByyhIlW+GOSopLFIAbAYT5W11D7CcMQy97w8p5Xnqb8k7vgJqd/zPj5sf yhgTHUknxyb4GaOzhiiLK+Zsp+z46F8nldIRC6Iwsq3boMuLY44PhkUw0th81QPvCZek KEZGv4SmISTFdSfer1PNN1k1QVrsO28dsLG3MMfjIfLmcxMBeN225Y6HSPfMydpxam/S 062Q== 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 :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=OjwP/cNGeeIMZZxCIvXiwbVBBNOZDvVUB86/Qo1hkJM=; b=iH4x/ReqKe47NQDFGj9igxZRO4jU4NC1C4OrIDAOFCVeCoNJwJ3KB2m4bVfZhieYuL lUHYCxOkEwyj3TeitWXFnmgsb6yay95VzaJkM0vUK6oDDqXkofRNulpZhbv2XR4jXWBM Jexp0yjJUDTrWrBnz3XLdS3O9iUAPYo9dn86l5yUoaeMt8c1IRHX6W6jXHq6OzlMoFg/ JwQqr8jjVHPcl6XtBO5RKIDmf3YV81lctJmolnEyqaLy43A1Vs9FSDy99bGQ7HmAX2jy hLhx04ZUXik/8ss++KJLPMLdGYmT2TImhY5apH6X6uJDjdNCBOuIiRFYfnZUsj136H7K e6Jg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=tW0101LN; arc=pass (i=1); 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 j23si2885905eje.78.2022.02.02.03.12.23; Wed, 02 Feb 2022 03:12:49 -0800 (PST) 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=tW0101LN; arc=pass (i=1); 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 S242860AbiBAUjy (ORCPT + 99 others); Tue, 1 Feb 2022 15:39:54 -0500 Received: from mail-bn8nam12on2083.outbound.protection.outlook.com ([40.107.237.83]:20192 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S240671AbiBAUiU (ORCPT ); Tue, 1 Feb 2022 15:38:20 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jfzwer21CtyyPWHr0E9u6lHBA2mkSTcgW+E4HPYOiPSGKkoKsKPktKcYjR1dpzeYSN2PTDATRz/iAVgVGAL0d4rcrfi2+p+8NTrEISSNDTmoSUWVhk4EbHXRM6aDI8tYEnhsRvZX6KQn8ZMTR54G7/S1/XD9f34VIX0ZUi2fREZC1ZpfZwmxsRt4AetoF62728kN7YMft+WmdCOwqGTfqIhbAoqf0wy0vaZ5MBiV2ehHeIA8NXWGm+XAzIZ/cBtlhAPFMfunlvLd5Xp3DWYQk3LDUOTrFF0DIFD+UmEVBC43731Krf8SJnLBxvlMG2HbNBQnHqKn7PTxLNjH5pYz4w== 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=OjwP/cNGeeIMZZxCIvXiwbVBBNOZDvVUB86/Qo1hkJM=; b=T7dei4raPV4/KFDShog1w4smUopeqaLwy18aKHNSGaZ8Fd+ijGBa06gYGux2Fdy5EcXzyHJFdSNycRkFoOn7MgV9VyP/a1RLYJ1GyRqJGNYJfO3tbK/EWxNA6fRBs6IHmpqp7+8AMxJyJNGPnbVAGun4HdYUU66yqTQyuocKl4pxwloKrJ+fF5GsAXmaLAbT7P7W016EhUbzrZpyzzWTss9MnDI0xP1anofz3HXObC2gnj5zdoTmNB4ZKngFaPA7955Fsfgn5aePh5YOif+SUZ+s5eAnDfmq3UTMlg8UDsFaWs5Lntxsam30T4VqLNDU5CGe2FSbJdwhge/SsH2Zkg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=OjwP/cNGeeIMZZxCIvXiwbVBBNOZDvVUB86/Qo1hkJM=; b=tW0101LNMFzU9ncwgxSxVVPZD4qhcg2B5CNr7HTqCHnsHHmqSIScLVxpfZYGvrsCSjTokeI0xjMd+NHPAfI8UiP1PaoTL7eWje6Sk9+uMQX6Hvy+5ziLSEZlTrSiglbOLQwdwFsYSjgIOR5yQIC0YoG2o4+3cv9yOOj+eskSOM1SnvHjQHHtsd/vVeY+A38gzoA9FNHwhUQF/fmJzXXbn2kmghz3FI20FD2IoEfCGkfWY1FTtLp2cQl+hU+FRemOVhhH9Xk0IS9TTgXJ5u/fZOaOJWxJhVdtZx5yfC5GkkhV0j7D9JgaOQUZGMfc43EZ11VYS6pPdi6qLMfokPY7Bg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) by PH0PR12MB5403.namprd12.prod.outlook.com (2603:10b6:510:eb::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.11; Tue, 1 Feb 2022 20:38:18 +0000 Received: from BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2d75:a464:eaed:5f99]) by BY5PR12MB4130.namprd12.prod.outlook.com ([fe80::2d75:a464:eaed:5f99%6]) with mapi id 15.20.4951.012; Tue, 1 Feb 2022 20:38:18 +0000 Message-ID: Date: Tue, 1 Feb 2022 12:38:15 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH] Revert mm/gup: small refactoring: simplify try_grab_page() Content-Language: en-US To: Will McVicker Cc: Andrew Morton , LKML , linux-mm@kvack.org, Christoph Hellwig , Minchan Kim , Matthew Wilcox , Christian Borntraeger , Heiko Carstens , Vasily Gorbik , Linus Torvalds , stable References: <20220201092927.242254-1-jhubbard@nvidia.com> From: John Hubbard In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SJ0PR03CA0282.namprd03.prod.outlook.com (2603:10b6:a03:39e::17) To BY5PR12MB4130.namprd12.prod.outlook.com (2603:10b6:a03:20b::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 26994833-0b9d-4736-715d-08d9e5c2c733 X-MS-TrafficTypeDiagnostic: PH0PR12MB5403:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Gnrhvt1ifRan6Vte8tSj9ozBRLj4j5TZbOs+CzJAirX9YbnMNn0yX3M5a0SkEejhzcfdRoGkdhmvcH8i2vx9/Di8eW9QZuPR6wIjZu6KzfQajDSl2bsR5iywPL1MhWROyi5TIdqqgwYOEbHtbYRryhQ0mB0DmPee7uPxHiOmk1GDc3n1F6xWoeqgwCtZ7XnFO/OwGCIBfmQ3/PK75oLz5qbFqLeDeGd65F8VMgbaezELFTWZC+cxWpJD5xxjNyLTNJD8lvcfRERro5sHwsYioF53tnKiNyTWfwDzhI1Rg166Oospf97nxzhw5jnQVYgzLtZTfAZeXULGQId/PfPcPj+NgkmPNI+B4WUY0rVeYc4P0XREAscQEW/nuwfBcTzCKttAzkQgMaei3qikP7HtgEpm4uiX4FZHEftI64ylYic56uD1F5fkWA7SXlJaJIj5VVXQUdlHayYMu7A8PRSoyQUi6JkdavbrL1vvqmPTT45x9SWHe5cvewGJiz7bPqsBtKtDQULbrl61HpS3qzfN0jfxsW61rhU/w5cHE+W7zLvSm+c9t0z8nQ4Dsp05f5IKzN3AAYwdd08KOXpPIE2E+rDOZuY+DS5H+o1CFE8fqxWnHNGl3G7IWjXsQg83CnLOLQRAF283FlpDa9hRnS5C/j8oGN7WA9giYBGumC5+tYYPvGa6lCQqowfnv3vhgP4ahDh/MKhtr+AWtnEIs5uiCBPPYbvA+IiMBb5B+D3EkT3vUblEDNi5O9dVVEhctWf8 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4130.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(31686004)(36756003)(31696002)(83380400001)(54906003)(86362001)(6916009)(6486002)(508600001)(316002)(8936002)(8676002)(4326008)(6506007)(4744005)(66946007)(66556008)(66476007)(38100700002)(186003)(2906002)(2616005)(6666004)(53546011)(6512007)(26005)(7416002)(5660300002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NUVBWTR0QXRIVkROVndMeEUwbCtaN0xWRHBQbXc5aVRBZE82NXUvWXhNZGVK?= =?utf-8?B?VUJoUEpmZ0hBYi9UeXpXUXBpWlBFdG5yMTNFeXFBbHFTNHdkQjQ0R21ST0o2?= =?utf-8?B?UlZDc25zK0xjYzJsRUlraXJGemFiMmNjWVZ6SlJGVld3SmNuY2ZNTkFrMVVJ?= =?utf-8?B?NXRTWUJOZk9lMmlEN2tzTytFczRrdDBQK3gyUkNQQW5IK1hIWHlHUUtZdXl1?= =?utf-8?B?b3R6N3kwODR4SmxEeHo4SFhFaWJPZ3oxV0ZKNzlaOUhQM3dLZzM2SGl6eDBK?= =?utf-8?B?b1RORWR3S0ZjWXp2YVZGakV5VTVRMm5OSzVpd3lnTXhKWmRDdWt2ZVNpdVhq?= =?utf-8?B?L0VRS2g0N3d2b1BlUEV1SVoybWRHalUrNGhLdGVLWEtnN3ZMZHJXU05sQ1RW?= =?utf-8?B?MGdsclJHUENBaVd4dDBMZWQzemVHRUtHVGc4dEQyc3UvWExycjU2REhidUY4?= =?utf-8?B?TnBiZ1JEdE1XOGJTVUFKM0NZTnVCeWE3UWdQdnJNMmdLRU1peDJVc3Fya2pY?= =?utf-8?B?Sm9iSTA1SnMzKytLL0I5WEJZNUlLMFlhQkhSODE2aU9KQW5ISE9LUUl2cEl4?= =?utf-8?B?eDg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Q2M5MmQ2d3Jw?= =?utf-8?B?cUNNcERBdkJrRDU1bzh1aU1aSG5EU1U4d0dzQzFZYThtcW1YcTFURFA0UTFI?= =?utf-8?B?d0JPUlVKdG9wZ2JnZm5ZZkY2bVU5Z1VVRitHTVZORzRwN2o3T0NYOHFtN2NO?= =?utf-8?B?Y1Y5OTZnZ1ZWVTFWV0xWSy9FRFMyRlZSSEJZVEZLQ1Bielo1U2NlQ2IxTS9Q?= =?utf-8?B?K0czMDJleHNDcmR2MTZsWnJTU0RHOXFUVkVjemo4TktHNG9MZG5tbjBGR0h4?= =?utf-8?B?dy9tQkpFZG9TNzJENk5yNlZkc2FZeHFpVGJxTjZuZmlXSUlkWGd5OENVbFkz?= =?utf-8?B?M1p0SU9LS0VuUEpSOFIzQUZWaVQyRjlYcEllbjhlVFVzaklvT2xBb1IxdHI2?= =?utf-8?B?UEpsQ2gyU1VFaUVCMi80aVZtRm9BRjVjSU81TnNQekR1QXE5NGNNVnBOSWJj?= =?utf-8?B?RkVzUXRKY0RwZjlIUXYyYnBLVm12QVJNRnA4QUg0a21WVjdscVpFdjRZRWd2?= =?utf-8?B?eTJQTE00cmJ0Z1l4MTRYZmdVWXMvVVI2K3lGdDZteEVOQmc3MzRWUitUb2kr?= =?utf-8?B?SXZlejJDZGkya0dWMFExSUlEVHg5WmcvNW1jUURDVndYTkpvQnZMNkF4dXlk?= =?utf-8?B?VUlvWGZudWtRc0dpaGtRUjJvcDZnMDc5THBSWnoyZzBNSWZpMFUxbnRPK1NN?= =?utf-8?Q?GRr4ddLODxqrQbKpTeIMZBI=3D?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26994833-0b9d-4736-715d-08d9e5c2c733 X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4130.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2022 20:38:18.0588 (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: k+Mp44XUHk6Aq9YxY4Xy/HUuty9rE7zwMVPdV0a6u86fSRCbLydJDXB9YffVL/CjlER6M9W1CRULENg6ldCrDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB5403 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/1/22 10:32, Will McVicker wrote: ... >> Thanks John! I verified this works on the Pixel 6 with the 5.15 kernel >> for my camera use-case. Free free to include: >> >> Tested-by: Will McVicker >> >> Thanks, >> Will > > And just so we don't miss this, I'd also like to request this be > pulled into the 5.15 stable branch please. > > Cc: stable@vger.kernel.org # 5.15 > > Thanks, > Will > Yes. Let's see if any feedback shows up about the approach, otherwise I'll post a v2 in a day or so, that adds your tested-by, as well as the Cc: stable. thanks, -- John Hubbard NVIDIA