[PATCH] udmabuf: revert 'Add support for mapping hugepages (v4)'
David Laight
David.Laight at ACULAB.COM
Tue Jun 13 12:25:03 UTC 2023
From: Kasireddy, Vivek <vivek.kasireddy at intel.com>
> Sent: 13 June 2023 09:26
...
> > Is my understanding correct, that we can effectively long-term pin
> > (worse than mlock) 64 MiB per UDMABUF_CREATE, allowing eventually !root
> > users
>
> The 64 MiB limit is the theoretical upper bound that we have not seen hit in
> practice. Typically, for a 1920x1080 resolution (commonly used in Guests),
> the size of the FB is ~8 MB (1920x1080x4). And, most modern Graphics
> compositors flip between two FBs.
What code does and what potentially malicious code might do
are entirely different things.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
More information about the dri-devel
mailing list