On 05/08/2018 03:27 PM, Oleg Babin wrote:
> Console driver allocates a screenbuffer with kmalloc(). The
> size of the buffer can be up to 32768 bytes which is the 3rd
> memory order.
> 
> Use kvmalloc() for screenbuffer allocation to fallback to vmalloc()
> in case of high order page is not available at the moment.
> 
> https://jira.sw.ru/browse/HCI-53
> Signed-off-by: Oleg Babin <[email protected]>

Reviewed-by: Andrey Ryabinin <[email protected]>

In addition to this will 32b2921e6a7461fe63b71217067a6cf4bddb132f as well,
otherwise it's become too easy for userspace to consume gigabytes of vmalloc.
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to