Re: [RFC 0/4] Virtio uses DMA API for all devices

2018-07-22 Thread Anshuman Khandual
On 07/20/2018 06:46 PM, Michael S. Tsirkin wrote: > On Fri, Jul 20, 2018 at 09:29:37AM +0530, Anshuman Khandual wrote: >> This patch series is the follow up on the discussions we had before about >> the RFC titled [RFC,V2] virtio: Add platform specific DMA API translation >> for virito devices (htt

Re: [RFC 4/4] virtio: Add platform specific DMA API translation for virito devices

2018-07-22 Thread Anshuman Khandual
On 07/20/2018 06:45 PM, Michael S. Tsirkin wrote: > On Fri, Jul 20, 2018 at 09:29:41AM +0530, Anshuman Khandual wrote: >> Subject: Re: [RFC 4/4] virtio: Add platform specific DMA API translation for >> virito devices > > s/virito/virtio/ Oops, will fix it. Thanks for pointing out. > >> This add

Re: [PATCH net-next V2 0/8] Packed virtqueue support for vhost

2018-07-22 Thread Michael S. Tsirkin
On Tue, Jul 17, 2018 at 08:45:16AM +0800, Jason Wang wrote: > > I'm not sure I understand this approach. Packed ring is just an > > optimization. > > What value is there in merging it if it does not help speed? > > If you want to support migration from dpdk or vDPA backend. Migration from dpdk i

Re: [PATCH net-next 0/9] TX used ring batched updating for vhost

2018-07-22 Thread David Miller
From: "Michael S. Tsirkin" Date: Sun, 22 Jul 2018 17:37:05 +0300 > On Fri, Jul 20, 2018 at 08:15:12AM +0800, Jason Wang wrote: >> Hi: >> >> This series implement batch updating of used ring for TX. This help to >> reduce the cache contention on used ring. The idea is first split >> datacopy path

Re: [PATCH net-next v6 1/4] net: vhost: lock the vqs one by one

2018-07-22 Thread Michael S. Tsirkin
On Sat, Jul 21, 2018 at 11:03:59AM -0700, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > This patch changes the way that lock all vqs > at the same, to lock them one by one. It will > be used for next patch to avoid the deadlock. > > Signed-off-by: Tonghao Zhang > Acked-by: Jason Wan

Re: [PATCH v36 2/5] virtio_balloon: replace oom notifier with shrinker

2018-07-22 Thread Michael S. Tsirkin
On Fri, Jul 20, 2018 at 04:33:02PM +0800, Wei Wang wrote: > The OOM notifier is getting deprecated to use for the reasons mentioned > here by Michal Hocko: https://lkml.org/lkml/2018/7/12/314 > > This patch replaces the virtio-balloon oom notifier with a shrinker > to release balloon pages on memo

Re: [PATCH net-next 0/9] TX used ring batched updating for vhost

2018-07-22 Thread Michael S. Tsirkin
On Fri, Jul 20, 2018 at 08:15:12AM +0800, Jason Wang wrote: > Hi: > > This series implement batch updating of used ring for TX. This help to > reduce the cache contention on used ring. The idea is first split > datacopy path from zerocopy, and do only batching for datacopy. This > is because zerco

RE: [PATCH v36 0/5] Virtio-balloon: support free page reporting

2018-07-22 Thread Wang, Wei W
On Friday, July 20, 2018 8:52 PM, Michael S. Tsirkin wrote: > On Fri, Jul 20, 2018 at 04:33:00PM +0800, Wei Wang wrote: > > This patch series is separated from the previous "Virtio-balloon > > Enhancement" series. The new feature, > VIRTIO_BALLOON_F_FREE_PAGE_HINT, > > implemented by this series en