Re: [RFC] Make use of non-dynamic dmabuf in RDMA

From: Jason Gunthorpe
Date: Wed Aug 25 2021 - 11:49:18 EST


On Wed, Aug 25, 2021 at 05:14:06PM +0200, Christian König wrote:

> Yeah, that's exactly what I'm talking about by adding cgroup or similar. You
> need a knob to control this.

We have the pinned memory ulimit today.

A pinned memory cgroup might be interesting, but even containrs are
covered under the ulimit (IIRC), so the driver to do this work might
not be so strong.

Jason