Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp376990ybl; Fri, 23 Aug 2019 02:10:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYBXJaJQIXR1vHSBknQQEGOzU2xkzy9LWTkTUsw/Ok7v1mM9ws0YrCgidV5FdSavXtwOmB X-Received: by 2002:a17:902:e2:: with SMTP id a89mr3635474pla.210.1566551426401; Fri, 23 Aug 2019 02:10:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566551426; cv=none; d=google.com; s=arc-20160816; b=jnutU38rAyjI3Xqv/gzqjg1SqmHS19eKn12S9leXJK7NistXVFoOlE10RURCGJjb86 SmJwMoUM2g6dzx3kkGruM2/ImcnM/CHWzBQ8OxZFtWT8cR/QHBp/Q2NFjFLz8uyTV4g6 VoZjO5R4NzGJyfbG6SvQ+JU7wWWqBJkyvIfRAmlu6oDqpENcwHbnUFJZWjU5vYn4eU4V A2d9Hj1KoHRZW0m8SncAHK0zaw01jpfSzyEJvberQYv2rY6Xo4ZFTYVC/yl86oww7x+F U62D79PMG0v9WoFi3A8KkoKj5gEKEAWCfCRt1Ij5mezx9n82y39FQ12IWit5M3YXxJeU Opug== 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=XTi8KewFAAPPdzH/kxXHq8AUlFdgw9TNIY7CgXtissQ=; b=pWySazWW4jVnBzFQYYqEobmvCBaq24EMzB9zVdjCQWvNxFHmCEijYvVMOM2+WtVCdl 2x4t36a9R8TH3f8MUIERIu5P43f3deTccbDlo7Aw5T1nK66hiut8LjR/4Mc7tYUWCPur dPlZEpZ0EdlkKodhuecDtztfUIdH7g7xdEAe8zBFgMSkDYUHaAj7JTy56Hf7cNp3LkfH qPGdARbLvoYO/QQlKXTbZEbcowMyYy+ICE9OfnVOcLH6TDo2fKOuffLa7J5M2r99UdaN ExjhmRiPsVXZVsw9+vRpC5SUkh49bfxA36xTn17QAq8HW8pP2ijMZ9hTzsnyNWP7XpfP QhIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=IPR34iXb; 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 u11si1823867plr.431.2019.08.23.02.10.10; Fri, 23 Aug 2019 02:10:26 -0700 (PDT) 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=IPR34iXb; 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 S1731654AbfHWAgJ (ORCPT + 99 others); Thu, 22 Aug 2019 20:36:09 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:5967 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731619AbfHWAgI (ORCPT ); Thu, 22 Aug 2019 20:36:08 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 22 Aug 2019 17:36:08 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 22 Aug 2019 17:36:08 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 22 Aug 2019 17:36:08 -0700 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; Fri, 23 Aug 2019 00:36:07 +0000 Subject: Re: [PATCH v2 0/3] mm/gup: introduce vaddr_pin_pages_remote(), FOLL_PIN To: Ira Weiny CC: Andrew Morton , Christoph Hellwig , Dan Williams , Dave Chinner , Jan Kara , Jason Gunthorpe , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Vlastimil Babka , LKML , , , References: <20190821040727.19650-1-jhubbard@nvidia.com> <20190823002443.GA19517@iweiny-DESK2.sc.intel.com> From: John Hubbard X-Nvconfidentiality: public Message-ID: <2f91e1a2-f82f-406a-600a-939bc07a0651@nvidia.com> Date: Thu, 22 Aug 2019 17:36:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190823002443.GA19517@iweiny-DESK2.sc.intel.com> 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=1566520568; bh=XTi8KewFAAPPdzH/kxXHq8AUlFdgw9TNIY7CgXtissQ=; h=X-PGP-Universal:Subject:To:CC:References:From:X-Nvconfidentiality: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=IPR34iXbP32VBS6NawFx8vHbWCUpISM/8+gLYDeZ6Kn8p2dNebgZFMMZM36L06l9/ D5C9xcsy+TfGK3CuFf2rQpMA+u8LhLeA4IdVY2ZiH8cmDVjox21UIx+hCfjQxwRbwP CzRFrnCGWC7SWeskityM3OIPQ4agRt87OI4q7DhiQ/K9Br7m5Uq2L+oMLR2W6y7IUL mET+mAaJIL5IP+a9iN+n1n9EebRhfqym+VuStBKaHcCphfqLFPM9uT/TUFg6cQEuT9 WF3YqJmEjk5vFi8XYhA13YoR2Wai7R7gpFagUrT5OfutwJCqbHP/JG8A1AaYO7VwcC Y4ZtFg9tjzDiA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/22/19 5:24 PM, Ira Weiny wrote: > On Tue, Aug 20, 2019 at 09:07:24PM -0700, John Hubbard wrote: >> Hi Ira, >> >> This is for your tree. I'm dropping the RFC because this aspect is >> starting to firm up pretty well. >> >> I've moved FOLL_PIN inside the vaddr_pin_*() routines, and moved >> FOLL_LONGTERM outside, based on our recent discussions. This is >> documented pretty well within the patches. >> >> Note that there are a lot of references in comments and commit >> logs, to vaddr_pin_pages(). We'll want to catch all of those if >> we rename that. I am pushing pretty hard to rename it to >> vaddr_pin_user_pages(). >> >> v1 of this may be found here: >> https://lore.kernel.org/r/20190812015044.26176-1-jhubbard@nvidia.com > > I am really sorry about this... > > I think it is fine to pull these in... There are some nits which are wrong but > I think with the XDP complication and Daves' objection I think the vaddr_pin > information is going to need reworking. So the documentation there is probably > wrong. But until we know what it is going to be we should just take this. > Sure, I was thinking the same thing: FOLL_PIN is clearing up, but vaddr_pin_pages() is still under heavy discussion. > Do you have a branch with this on it? > Yes, it's on: git@github.com:johnhubbard/linux.git , branch: vaddr_FOLL_PIN_next > The patches don't seem to apply. Looks like they got corrupted somewhere... > Lately I'm trying out .nvidia.com outgoing servers for git-send-email, so I'm still nervous about potential email-based patch problems. I suspect, though, that it's really just a "must be on exactly the right commit in order to apply" situation. Please let me know, so I can make any corrections necessary on this end. thanks, -- John Hubbard NVIDIA