Re: [PATCH] Increase default MLOCK_LIMIT to 8 MiB

Jason Gunthorpe
2021-11-23T14:07:14Z

On Tue, Nov 23, 2021 at 02:39:19PM +0100, David Hildenbrand wrote:
> >
> >> 2) Could be provide a mmu variant to ordinary users that's just good
> >> enough but maybe not as fast as what we have today? And limit
> >> FOLL_LONGTERM to special, privileged users?
> >
> > rdma has never been privileged
>
> Feel free to correct me if I'm wrong: it requires special networking
> hardware and the admin/kernel has to prepare the system in a way such
> that it can be used.

Not really, plug in the right PCI card and it works

"special" is a bit of a reach since almost every NIC sold in the > 100GB
segment supports some RDMA.

Jason