Re: [PATCH v1] vhost: avoid large order allocations
From: Michael Mueller <hidden>
Date: 2014-05-13 15:07:41
Also in:
kvm, lkml
From: Michael Mueller <hidden>
Date: 2014-05-13 15:07:41
Also in:
kvm, lkml
On Tue, 13 May 2014 16:29:58 +0200 Romain Francoise [off-list ref] wrote:
"Michael S. Tsirkin" [off-list ref] writes:quoted
Please dont' do this, extra indirection hurts performance. Instead, please change vhost_net_open and scsi to allocate the whole structure with vmalloc if kmalloc fails, along the lines of 74d332c13b2148ae934ea94dac1745ae92efe8e5Back in January 2013, you didn't seem to think it was a good idea: https://lkml.org/lkml/2013/1/23/492
Hi Romain, in that case I'd suggest that you submit your patch, ours will look pretty much the same! Cheers Michael