Re: [PATCH v3 1/4] mm: introduce get_user_pages_longterm

From: Jason Gunthorpe
Date: Thu Nov 30 2017 - 14:01:29 EST


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