On Tue, Feb 27, 2018 at 11:27:31AM +0300, Andrey Ryabinin wrote:
>
>
> On 02/27/2018 01:27 AM, Andrei Vagin wrote:
> > On Mon, Feb 26, 2018 at 03:29:51PM +0300, Oleg Babin wrote:
> >> Currently we allocate more than eight pages of memory in
> >> vhost_net_set_ubuf_info() function and we do not ne
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/brow
On 02/27/2018 01:27 AM, Andrei Vagin wrote:
> On Mon, Feb 26, 2018 at 03:29:51PM +0300, 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 cal
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
---
drivers/
On Mon, Feb 26, 2018 at 03:29:51PM +0300, 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().
I see onl
Definitely yes, my fault. Thanks!
From: Vasiliy Averin
Sent: Monday, February 26, 2018 3:50:54 PM
To: Oleg Babin; Andrey Ryabinin
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH vz7] net/vhost: Replace kmalloc with kvmalloc for
order>=3
is it probably kf
is it probably kfree -> kvfree required too ?
On 2018-02-26 15:29, Oleg Babin wrote:
> [This sender failed our fraud detection checks and may not be who they appear
> to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]
>
> Currently we allocate more than eight pages of memory in
> v
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
---
drivers/