Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1518591ybc; Tue, 19 Nov 2019 23:07:27 -0800 (PST) X-Google-Smtp-Source: APXvYqwvacJ5p5+FEU95sL9n2FhXt18v74rRX84VyVVbJvJwwPvDTwZscTcsYBf3qiHtAjr690Po X-Received: by 2002:a17:906:b5b:: with SMTP id v27mr3094859ejg.327.1574233647796; Tue, 19 Nov 2019 23:07:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574233647; cv=none; d=google.com; s=arc-20160816; b=J/RuxlCOjhQ6YppD/4oyjebtHWBstRMRsZ/xQu7d4hG4KEhh8Oq7v9UWtrE6sfU4e1 dWlxgfcDfcDbEG6I27hyqi9DfS/bzyHKvD/gqy3ddcPqxHmGau6TnbeYDGL8pOd1cz6z 12+2pLPPfJJt0dID2jJ5uYxez5lHVPCbAEN/r9xmO37WBnQegm/0zIJXvjYMIQp0k+S0 M/FLTOxhI3t8LFf/nhoTmhlDv9ltDN24YDdrwW9I1FmMi8WlnugtsjC7ByvTcw+1CWOQ qG2Ucq19FRLJLg3fWgXkClJsPzyO/59sCBdkwTlrLwSmmNFEqdqAr88X/204Bm1MyWdP mVog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=ccH+u52vDWCSpx4Mj41DBPFk4Bnr7E1/buLUhbEm50I=; b=orXsm4tBzqPuGm8ZxY5F8AhLAU04TXhIFZiej3Vfa5Y/gsXHnYGLFn1Bmtmk5EQhPw S0bVDh+o9erdX4HePdMiqjAhOvKYurQiRtl/awmnH7nWWrDmgy6ZFUsdKvBtWNkQpH4G En1kxyQUwOUsMEMLoycG8ZOQM34Lmx1pohaqO1xt6v0f2d43JT2RHRhLAmkllYGdwmFl qDFLu7/KBAGmaUUtN9KVsw7LJdnmToU3xFCo80CTyOaSXsRsHluGeKRPhncLZT2i6GK7 s/n/+0U+Fl2/eMLCnGz2i3jQDXv2NSnmxFoTelkHIsYywQyYiE5OM+kRrhI1Y9GDF4bC EX9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=aoAjA12T; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k7si17775038edb.265.2019.11.19.23.07.00; Tue, 19 Nov 2019 23:07:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=aoAjA12T; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727616AbfKTHDM (ORCPT + 99 others); Wed, 20 Nov 2019 02:03:12 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:11798 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbfKTHDM (ORCPT ); Wed, 20 Nov 2019 02:03:12 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 19 Nov 2019 23:03:07 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 19 Nov 2019 23:03:11 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 19 Nov 2019 23:03:11 -0800 Received: from [10.110.48.28] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 20 Nov 2019 07:03:10 +0000 Subject: Re: [PATCH v6 15/24] fs/io_uring: set FOLL_PIN via pin_user_pages() To: Jens Axboe , Andrew Morton CC: Al Viro , Alex Williamson , Benjamin Herrenschmidt , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Christoph Hellwig , Dan Williams , Daniel Vetter , Dave Chinner , David Airlie , "David S . Miller" , Ira Weiny , Jan Kara , Jason Gunthorpe , Jonathan Corbet , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Magnus Karlsson , Mauro Carvalho Chehab , Michael Ellerman , Michal Hocko , Mike Kravetz , Paul Mackerras , Shuah Khan , Vlastimil Babka , , , , , , , , , , , , , LKML References: <20191119081643.1866232-1-jhubbard@nvidia.com> <20191119081643.1866232-16-jhubbard@nvidia.com> <2ae65d1b-a3eb-74ed-afce-c493de5bbfd3@kernel.dk> X-Nvconfidentiality: public From: John Hubbard Message-ID: <42c80c0a-ad2c-fe74-babd-57680882c7e2@nvidia.com> Date: Tue, 19 Nov 2019 23:03:10 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <2ae65d1b-a3eb-74ed-afce-c493de5bbfd3@kernel.dk> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1574233387; bh=ccH+u52vDWCSpx4Mj41DBPFk4Bnr7E1/buLUhbEm50I=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=aoAjA12TDjtYHcqzP6KlOL/T+xFannzF2Ut7WBeMCWKWq7l/9YzjhnMxWFHzZfpR5 Iws/71eVjdglCRCFx0borbQjrcWdlbhRBVNYLCTSxJhf+kal1fvOFNYQqlhw4wL9J6 MFYFTVnA4OaNermjnVJWu68MlONq0QSjgN/vAiaH7Huv88r7BI/N2hl/4JJ3pl29Td suI6xx3hgozM4FOPwAaNkBjGwwYRC1+cHh6/xlUHPqKTdx1Jisq/17DuqUYf/0K2Yd KJ8+BKNAyQOQiWBn8l76F+wCEq0it7z2sVeN/sAFeVR43NYKvAY4EyGL+PsQeLhyI4 eAwjKJTXDphsw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/19/19 8:10 AM, Jens Axboe wrote: > On 11/19/19 1:16 AM, John Hubbard wrote: >> Convert fs/io_uring to use the new pin_user_pages() call, which sets >> FOLL_PIN. Setting FOLL_PIN is now required for code that requires >> tracking of pinned pages, and therefore for any code that calls >> put_user_page(). >> >> In partial anticipation of this work, the io_uring code was already >> calling put_user_page() instead of put_page(). Therefore, in order to >> convert from the get_user_pages()/put_page() model, to the >> pin_user_pages()/put_user_page() model, the only change required >> here is to change get_user_pages() to pin_user_pages(). >> >> Reviewed-by: Jan Kara >> Signed-off-by: John Hubbard > > You dropped my reviewed-by now... Given the file, you'd probably want > to keep that. Hi Jens, Yes, I was being too conservative I guess. I changed the patch somewhat and dropped the reviewed-by because of those changes...I'm adding it back for v7 based on this, thanks! thanks, -- John Hubbard NVIDIA