udmabuf: rework limits
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Sep 2018 13:42:10 +0000 (15:42 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Sep 2018 06:21:30 +0000 (08:21 +0200)
commitdc4716d75154b36cb115d2a1871655ed0f2e10b2
tree08e9f359c5a529671e46b3405b3651475b8ce261
parent68d2f70efe2d622483c5cde7c27179a695285fb0
udmabuf: rework limits

Create variable for the list length limit.  Serves as documentation,
also allows to make it a module parameter if needed.

Also add a total size limit.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20180911134216.9760-8-kraxel@redhat.com
drivers/dma-buf/udmabuf.c