[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171201163140.GJ7754@ziepe.ca>
Date: Fri, 1 Dec 2017 09:31:40 -0700
From: Jason Gunthorpe <jgg@...pe.ca>
To: Dan Williams <dan.j.williams@...el.com>
Cc: Michal Hocko <mhocko@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux MM <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Christoph Hellwig <hch@....de>,
"stable@...r.kernel.org" <stable@...r.kernel.org>,
"linux-nvdimm@...ts.01.org" <linux-nvdimm@...ts.01.org>,
linux-rdma <linux-rdma@...r.kernel.org>
Subject: Re: [PATCH v3 1/4] mm: introduce get_user_pages_longterm
On Fri, Dec 01, 2017 at 08:29:53AM -0800, Dan Williams wrote:
> > And maybe we should think about moving the rlimit accounting into this
> > new function too someday?
>
> DAX pages are not accounted in any rlimit because they are statically
> allocated reserved memory regions.
I mean, unrelated to DAX, any user of get_user_pages_longterm should
respect the memlock rlimit and that check is shared code.
Jason
Powered by blists - more mailing lists