Re: [PATCH RFC 03/13] vhost: batching fetches

2020-06-07 Thread Michael S. Tsirkin
On Mon, Jun 08, 2020 at 11:35:40AM +0800, Jason Wang wrote: > > On 2020/6/7 下午9:57, Michael S. Tsirkin wrote: > > On Fri, Jun 05, 2020 at 11:40:17AM +0800, Jason Wang wrote: > > > On 2020/6/4 下午4:59, Michael S. Tsirkin wrote: > > > > On Wed, Jun 03, 2020 at 03:27:39PM +0800, Jason Wang wrote: > >

Re: [PATCH RFC 03/13] vhost: batching fetches

2020-06-07 Thread Jason Wang
On 2020/6/7 下午9:57, Michael S. Tsirkin wrote: On Fri, Jun 05, 2020 at 11:40:17AM +0800, Jason Wang wrote: On 2020/6/4 下午4:59, Michael S. Tsirkin wrote: On Wed, Jun 03, 2020 at 03:27:39PM +0800, Jason Wang wrote: On 2020/6/2 下午9:06, Michael S. Tsirkin wrote: With this patch applied, new and

Re: [PATCH RFC 03/13] vhost: batching fetches

2020-06-07 Thread Michael S. Tsirkin
On Fri, Jun 05, 2020 at 11:40:17AM +0800, Jason Wang wrote: > > On 2020/6/4 下午4:59, Michael S. Tsirkin wrote: > > On Wed, Jun 03, 2020 at 03:27:39PM +0800, Jason Wang wrote: > > > On 2020/6/2 下午9:06, Michael S. Tsirkin wrote: > > > > With this patch applied, new and old code perform identically. >

Re: [PATCH RFC 03/13] vhost: batching fetches

2020-06-04 Thread Jason Wang
On 2020/6/4 下午4:59, Michael S. Tsirkin wrote: On Wed, Jun 03, 2020 at 03:27:39PM +0800, Jason Wang wrote: On 2020/6/2 下午9:06, Michael S. Tsirkin wrote: With this patch applied, new and old code perform identically. Lots of extra optimizations are now possible, e.g. we can fetch multiple head

Re: [PATCH RFC 03/13] vhost: batching fetches

2020-06-04 Thread Michael S. Tsirkin
On Wed, Jun 03, 2020 at 03:27:39PM +0800, Jason Wang wrote: > > On 2020/6/2 下午9:06, Michael S. Tsirkin wrote: > > With this patch applied, new and old code perform identically. > > > > Lots of extra optimizations are now possible, e.g. > > we can fetch multiple heads with copy_from/to_user now. >

Re: [PATCH RFC 03/13] vhost: batching fetches

2020-06-03 Thread Jason Wang
On 2020/6/2 下午9:06, Michael S. Tsirkin wrote: With this patch applied, new and old code perform identically. Lots of extra optimizations are now possible, e.g. we can fetch multiple heads with copy_from/to_user now. We can get rid of maintaining the log array. Etc etc. Signed-off-by: Michael

[PATCH RFC 03/13] vhost: batching fetches

2020-06-02 Thread Michael S. Tsirkin
With this patch applied, new and old code perform identically. Lots of extra optimizations are now possible, e.g. we can fetch multiple heads with copy_from/to_user now. We can get rid of maintaining the log array. Etc etc. Signed-off-by: Michael S. Tsirkin Signed-off-by: Eugenio Pérez Link: h