From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 30 Nov 2017 12:01:17 -0700 From: Jason Gunthorpe Subject: Re: [PATCH v3 1/4] mm: introduce get_user_pages_longterm Message-ID: <20171130190117.GF7754@ziepe.ca> References: <151197872943.26211.6551382719053304996.stgit@dwillia2-desk3.amr.corp.intel.com> <151197873499.26211.11687422577653326365.stgit@dwillia2-desk3.amr.corp.intel.com> <20171130095323.ovrq2nenb6ztiapy@dhcp22.suse.cz> <20171130174201.stbpuye4gu5rxwkm@dhcp22.suse.cz> <20171130181741.2y5nyflyhqxg6y5p@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Dan Williams Cc: Michal Hocko , Andrew Morton , Linux MM , "linux-kernel@vger.kernel.org" , Christoph Hellwig , "stable@vger.kernel.org" , "linux-nvdimm@lists.01.org" , linux-rdma List-ID: On Thu, Nov 30, 2017 at 10:32:42AM -0800, Dan Williams wrote: > > Who and how many LRU pages can pin that way and how do you prevent nasty > > users to DoS systems this way? > > I assume this is something the RDMA community has had to contend with? > I'm not an RDMA person, I'm just here to fix dax. The RDMA implementation respects the mlock rlimit Jason -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH v3 1/4] mm: introduce get_user_pages_longterm Date: Thu, 30 Nov 2017 12:01:17 -0700 Message-ID: <20171130190117.GF7754@ziepe.ca> References: <151197872943.26211.6551382719053304996.stgit@dwillia2-desk3.amr.corp.intel.com> <151197873499.26211.11687422577653326365.stgit@dwillia2-desk3.amr.corp.intel.com> <20171130095323.ovrq2nenb6ztiapy@dhcp22.suse.cz> <20171130174201.stbpuye4gu5rxwkm@dhcp22.suse.cz> <20171130181741.2y5nyflyhqxg6y5p@dhcp22.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org To: Dan Williams Cc: Michal Hocko , Andrew Morton , Linux MM , "linux-kernel@vger.kernel.org" , Christoph Hellwig , "stable@vger.kernel.org" , "linux-nvdimm@lists.01.org" , linux-rdma List-Id: linux-rdma@vger.kernel.org On Thu, Nov 30, 2017 at 10:32:42AM -0800, Dan Williams wrote: > > Who and how many LRU pages can pin that way and how do you prevent nasty > > users to DoS systems this way? > > I assume this is something the RDMA community has had to contend with? > I'm not an RDMA person, I'm just here to fix dax. The RDMA implementation respects the mlock rlimit Jason