Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp1150786ybh; Sat, 3 Aug 2019 19:13:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxX8rK8jWSzSWuWWrYvaSCO4SIJEeQ4mtnPUnP4RTrodsw9aVksXsp9KcYNmig4Cq0UGTVs X-Received: by 2002:a17:902:24e:: with SMTP id 72mr95013847plc.65.1564884796913; Sat, 03 Aug 2019 19:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564884796; cv=none; d=google.com; s=arc-20160816; b=CnkjolHDSVr1QZOB8TeJvcih8TXXtNg4ETBTPCkEg1zyIOXHn4mptX+nPXup1smhLy 4G393XNQDm+Iu4ALdrsjbZfkfARjZf+QzSnJjm56li1GsZEsqxBy6pZZBY1em0oCuzoO F96LUh/20t8T9fsKUvF2gKZCx1VyrDAfz5iXkmByEyCbqHEyTrwrQxXCihHq+1PBewVh vULlaivn0beNa7PT0HIVSwXwmdXUl7H1QUdt70lRfYmZySsvvp6Mc6DPDu2FFDT5/XBO W55PxoE3/nab6m7LklAN1Re6V33O44QCf/hRPRX2X4xMHd1nxmBYxBliHbbTvznxYeu0 8zdg== 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=+4YFr8hVqt3rnBZzpE/CDXaE3u2NtyGgeA2+CHyqUUg=; b=ea1/gUY0cgt1Y15QFeEpuvRjIptXLaiyvDYqkhxzkjtl624E7f733sYfO+43jh65hc yNHFCCb4zuTZp9KjvJjUadwK18fc6WxP3upKxzRbH5rWrdMJN8DxDxMkj4Wj0Si1RcU1 P2OAn4Q6cML1Lj5Ol2UjS8HiEzn8Nt7KNRE2VHKHwKsQpDszNGFwcm9hjGEIdK235x9Y f4SzWAUULvuaRyFk1q4KMiUpYk1Lar3vsXz8IoxadK4IfjyX+bz7CtY6iqw6MA8BeOWT GlRbkSe86x9df6+8N1RJZXnzYo9caqzbq2eGx4d3fyIkXqpkH00GSqaXz9GKTsDfwJf8 Dnyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=pA8Qugcw; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 r4si43394512pgb.245.2019.08.03.19.13.03; Sat, 03 Aug 2019 19:13:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=pA8Qugcw; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 S2392225AbfHBTew (ORCPT + 99 others); Fri, 2 Aug 2019 15:34:52 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:17795 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391971AbfHBTew (ORCPT ); Fri, 2 Aug 2019 15:34:52 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 02 Aug 2019 12:34:52 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Fri, 02 Aug 2019 12:34:51 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Fri, 02 Aug 2019 12:34:51 -0700 Received: from [10.2.171.217] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 2 Aug 2019 19:34:50 +0000 Subject: Re: [PATCH 00/34] put_user_pages(): miscellaneous call sites To: Peter Zijlstra , CC: Andrew Morton , Christoph Hellwig , Dan Williams , Dave Chinner , Dave Hansen , Ira Weiny , Jan Kara , Jason Gunthorpe , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , LKML , , , , , , , , , , , , , , , , , , , , , , , References: <20190802021653.4882-1-jhubbard@nvidia.com> <20190802080554.GD2332@hirez.programming.kicks-ass.net> X-Nvconfidentiality: public From: John Hubbard Message-ID: <8968c928-5712-03a9-68df-051f5b58fdbc@nvidia.com> Date: Fri, 2 Aug 2019 12:33:13 -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: <20190802080554.GD2332@hirez.programming.kicks-ass.net> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL104.nvidia.com (172.18.146.11) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1564774492; bh=+4YFr8hVqt3rnBZzpE/CDXaE3u2NtyGgeA2+CHyqUUg=; 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=pA8QugcwnL1HNNctuTXTMAa7CrBYZtv2cc2QzVDHg2S/Xz0x5cf9O8eGtP0C46aN6 a197cn16D9E9xYsYwbovYwvjP0hTnTIrSK10+fiYfbToCUN0I9g4iXpjbE6kGTwrAp ncKdQLJTA/SOQtWLtiZt5vxeEAtfkDytTOFqyC79V99rQnUwNH1zBFEyzb+BV4yCcg 0Lb+HCJur/Jv3WTiflqOcCteevFh1AJi/C8c1Ka1hIgLd+uE9NAbY1wcjbuQJmv03/ F2ke8dbjLXpL5/tEd8euZ6kSYJfMWxVRqMIbW34EAHrZytttzmbzNNCLzf8Qy6VEOi 6Ny99XF1JiDWQ== Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 8/2/19 1:05 AM, Peter Zijlstra wrote: > On Thu, Aug 01, 2019 at 07:16:19PM -0700, john.hubbard@gmail.com wrote: > >> This is part a tree-wide conversion, as described in commit fc1d8e7cca2d >> ("mm: introduce put_user_page*(), placeholder versions"). That commit >> has an extensive description of the problem and the planned steps to >> solve it, but the highlites are: > > That is one horridly mangled Changelog there :-/ It looks like it's > partially duplicated. Yeah. It took so long to merge that I think I was no longer able to actually see the commit description, after N readings. sigh > > Anyway; no objections to any of that, but I just wanted to mention that > there are other problems with long term pinning that haven't been > mentioned, notably they inhibit compaction. > > A long time ago I proposed an interface to mark pages as pinned, such > that we could run compaction before we actually did the pinning. > This is all heading toward marking pages as pinned, so we should finally get there. I'll post the RFC for tracking pinned pages shortly. thanks, -- John Hubbard NVIDIA