Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1865825imu; Sat, 8 Dec 2018 08:50:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/X4F4kHM3N7e4ifHVMsph/4gv5RZ/fmub7BIOqO+ieVnSovsu2KZgjXgI736USJW9C7fyn4 X-Received: by 2002:a63:cf08:: with SMTP id j8mr5709131pgg.113.1544287828293; Sat, 08 Dec 2018 08:50:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544287828; cv=none; d=google.com; s=arc-20160816; b=vcCTZs89BfSap3j8DRd8kAAHx0UDwVLBky3C944X+TZhi+LpQlY5T3J6Xw34Gvd4hI DDGma6KSFIajiKQWTYwvEEAjOv7AKGKrgArQHqadltEL6oQqc8AGAeZoZowbNjiPQAfK y8+8wRl3rYnpjH/Y90TtAfYVwpLLwMCV1ezPCIifyNUQLAMXrLnuNj1cB8PABzxyVuOz FmVp5ckRAYrEk4Rn5EiBGNZP7+dsPSkEEDntT31InH8+YB7+8qvJKjqhnTNK1AJKo8jd re6kUjx9TOw52HrE+mtITeFibWa1MQ1nCALC3uB26a4sWRXMqmsPuCRWeGlvCNab/O3m OOcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=u/FgVdlWsULMzhgDxbpyXa5q7RtiebWnxItgAKWNbcY=; b=Epp9jY8A1INoR1Q67qUk2IYu9nyyNnr+DIVHs2Q1v8TC5QJigAY9G66BHvAcez/sKf 3bpsBWciWzH57hLF9YnE247K2T35p22KpnT77DONuN0NKjdpN/sdoZkZLD2DM6Zd1MrK 0fEcQAE0cGS1KAPLS4n2ChWcIfK3rH2j2WHaMu+DOwnj3RKcvToGifckzHkKZU5lUIhF /+LSqcAMW+t2a/DJ/dIPplgjPFDNayMazfi1FfEEVDDLWyhuHrrk1q1ygAMYMR47NyEP K6Vz5ztXUkjYJqMka8JRZohpSNdUIJCJ2L9/l73X4TAspFovZb5dTfX88ia4l3A9gJeE bH4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="U3UoMcP/"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s59si5782301plb.237.2018.12.08.08.50.12; Sat, 08 Dec 2018 08:50:28 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="U3UoMcP/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726202AbeLHQsg (ORCPT + 99 others); Sat, 8 Dec 2018 11:48:36 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:55272 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbeLHQsg (ORCPT ); Sat, 8 Dec 2018 11:48:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=u/FgVdlWsULMzhgDxbpyXa5q7RtiebWnxItgAKWNbcY=; b=U3UoMcP/IUpU+B66Vxz5oksAH QjG8tgvWCnFCIM6c/t4kgTnfnCd32GYvYnTLfxKOtK5Uy1k/1e7R1HKU9u3CF2gJJWj9CwfJRbzV0 ZVq4w+hoG+LWcLX4d7j/TtDAlqfo9V+x13m3mS8J8If36pCLufo2B/5MLcA/uc2a65qB22aySEp1X qolajAZL44Ki8J0xLo6DWswVbGglc+Ian9EbiCGkP5CI31N9zJ3HDsUGg28QuucIV9T6DtZ8FUKVs 2I+F1KgCopoJ+TNlbmq1TFuH91a0uRtAZN96im1FFiRJTKQGTQ7UP3JIzBWkZtSAFaMRM11uHcmZK 3RKXwasaA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1gVfmD-0008ET-OI; Sat, 08 Dec 2018 16:48:25 +0000 Date: Sat, 8 Dec 2018 08:48:25 -0800 From: Christoph Hellwig To: Jerome Glisse Cc: Dan Williams , John Hubbard , Matthew Wilcox , John Hubbard , Andrew Morton , Linux MM , Jan Kara , tom@talpey.com, Al Viro , benve@cisco.com, Christoph Hellwig , Christopher Lameter , "Dalessandro, Dennis" , Doug Ledford , Jason Gunthorpe , Michal Hocko , Mike Marciniszyn , rcampbell@nvidia.com, Linux Kernel Mailing List , linux-fsdevel Subject: Re: [PATCH 1/2] mm: introduce put_user_page*(), placeholder versions Message-ID: <20181208164825.GA26154@infradead.org> References: <3c91d335-921c-4704-d159-2975ff3a5f20@nvidia.com> <20181205011519.GV10377@bombadil.infradead.org> <20181205014441.GA3045@redhat.com> <59ca5c4b-fd5b-1fc6-f891-c7986d91908e@nvidia.com> <7b4733be-13d3-c790-ff1b-ac51b505e9a6@nvidia.com> <20181207191620.GD3293@redhat.com> <3c4d46c0-aced-f96f-1bf3-725d02f11b60@nvidia.com> <20181208163353.GA2952@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181208163353.GA2952@redhat.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 08, 2018 at 11:33:53AM -0500, Jerome Glisse wrote: > Patchset to use HMM inside nouveau have already been posted, some > of the bits have already made upstream and more are line up for > next merge window. Even with that it is a relative fringe feature compared to making something like get_user_pages() that is literally used every to actually work properly. So I think we need to kick out HMM here and just find another place for it to store data. And just to make clear that I'm not picking just on this - the same is true to a just a little smaller extent for the pgmap..