[Devel] [PATCH vz7] net/vhost: Replace kmalloc with kvmalloc for order>=3

Andrey Ryabinin aryabinin at virtuozzo.com
Tue Feb 27 13:32:30 MSK 2018


On 02/27/2018 11:12 AM, Oleg Babin wrote:
> Currently we allocate more than eight pages of memory in
> vhost_net_set_ubuf_info() function and we do not need
> them to be physically contiguous, so it is feasible to
> replace a call to kmalloc() with a call to kvmalloc().
> 
> https://jira.sw.ru/browse/PSBM-81803
> Signed-off-by: Oleg Babin <obabin at virtuozzo.com>

Reviewed-by: Andrey Ryabinin <aryabinin at virtuozzo.com>


More information about the Devel mailing list