Re: [REBASE PATCH net-next v9 0/4] net: vhost: improve performance when enable busyloop

2018-09-26 Thread David Miller
From: xiangxia.m@gmail.com Date: Tue, 25 Sep 2018 05:36:48 -0700 > From: Tonghao Zhang > > This patches improve the guest receive performance. > On the handle_tx side, we poll the sock receive queue > at the same time. handle_rx do that in the same way. > > For more performance report, see

[PULL 2/2] virtio/s390: fix race in ccw_io_helper()

2018-09-26 Thread Cornelia Huck
From: Halil Pasic While ccw_io_helper() seems like intended to be exclusive in a sense that it is supposed to facilitate I/O for at most one thread at any given time, there is actually nothing ensuring that threads won't pile up at vcdev->wait_q. If they do, all threads get woken up and see the s

[PULL 0/2] virtio-ccw fixes

2018-09-26 Thread Cornelia Huck
nel/git/kvms390/linux.git tags/virtio-ccw-20180926 for you to fetch changes up to 1fd7ccf82385b3b14e4b3f009a82ada17ddc1e6f: virtio/s390: fix race in ccw_io_helper() (2018-09-25 15:29:10 +0200) Two patches fixing races in the vi

[PULL 1/2] virtio/s390: avoid race on vcdev->config

2018-09-26 Thread Cornelia Huck
From: Halil Pasic Currently we have a race on vcdev->config in virtio_ccw_get_config() and in virtio_ccw_set_config(). This normally does not cause problems, as these are usually infrequent operations. However, for some devices writing to/reading from the config space can be triggered through sy

Call for Papers - WorldCIST'19 - La Toja Island, Spain

2018-09-26 Thread ML
*** Best papers published in JCR/SCI/SSCI journals --- WorldCIST'19 - 7th World Conference on Information Systems and Technologies 16 - 19 April 2019 | La Toja Island, Spain http://www.worldcist.org/

Re: [PATCH 4/4] drm/virtio: Use IDAs more efficiently

2018-09-26 Thread Matthew Wilcox
On Wed, Sep 26, 2018 at 09:00:31AM -0700, Matthew Wilcox wrote: > @@ -59,6 +59,7 @@ static int virtio_gpu_context_create(struct > virtio_gpu_device *vgdev, > > if (handle < 0) > return handle; > + handle++; > virtio_gpu_cmd_context_create(vgdev, handle, nlen, name);

[PATCH 4/4] drm/virtio: Use IDAs more efficiently

2018-09-26 Thread Matthew Wilcox
0-based IDAs are more efficient than any other base. Convert the 1-based IDAs to be 0-based. Signed-off-by: Matthew Wilcox --- drivers/gpu/drm/virtio/virtgpu_kms.c | 3 ++- drivers/gpu/drm/virtio/virtgpu_vq.c | 7 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/g

[PATCH 3/4] drm/virtio: Handle object ID allocation errors

2018-09-26 Thread Matthew Wilcox
It is possible to run out of memory while allocating IDs. The current code would create an object with an invalid ID; change it to return -ENOMEM to the caller. Signed-off-by: Matthew Wilcox --- drivers/gpu/drm/virtio/virtgpu_drv.h | 3 +-- drivers/gpu/drm/virtio/virtgpu_fb.c| 10 +++

[PATCH 0/4] Improve virtio ID allocation

2018-09-26 Thread Matthew Wilcox
I noticed you were using IDRs where you could be using the more efficient IDAs, then while fixing that I noticed the lack of error handling, and I decided to follow that up with an efficiency improvement. There's probably a v2 of this to follow because I couldn't figure out how to properly handle

[PATCH 2/4] drm/virtio: Handle context ID allocation errors

2018-09-26 Thread Matthew Wilcox
It is possible to run out of memory while allocating IDs. The current code would create a context with an invalid ID; change it to return -ENOMEM to userspace. Signed-off-by: Matthew Wilcox --- drivers/gpu/drm/virtio/virtgpu_kms.c | 29 +++- 1 file changed, 11 insertions

[PATCH 1/4] drm/virtio: Replace IDRs with IDAs

2018-09-26 Thread Matthew Wilcox
These IDRs were only being used to allocate unique numbers, not to look up pointers, so they can use the more space-efficient IDA instead. Signed-off-by: Matthew Wilcox --- drivers/gpu/drm/virtio/virtgpu_drv.h | 6 ++ drivers/gpu/drm/virtio/virtgpu_kms.c | 18 -- drivers/gpu