Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH] udmabuf: revert 'Add support for mapping hugepages (v4)' | Date | Tue, 13 Jun 2023 12:25:03 +0000 |
| |
From: Kasireddy, Vivek <vivek.kasireddy@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)
| |