Re: [PATCH net-next v6 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()

2018-07-23 Thread Toshiaki Makita
On 2018/07/24 12:28, Tonghao Zhang wrote: > On Tue, Jul 24, 2018 at 10:53 AM Toshiaki Makita > wrote: >> >> On 2018/07/24 2:31, Tonghao Zhang wrote: >>> On Mon, Jul 23, 2018 at 10:20 PM Toshiaki Makita >>> wrote: On 18/07/23 (月) 21:43, Tonghao Zhang wrote: > On Mon, Jul 23, 2018 at

Re: [PATCH net-next v6 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()

2018-07-23 Thread Tonghao Zhang
On Tue, Jul 24, 2018 at 10:53 AM Toshiaki Makita wrote: > > On 2018/07/24 2:31, Tonghao Zhang wrote: > > On Mon, Jul 23, 2018 at 10:20 PM Toshiaki Makita > > wrote: > >> > >> On 18/07/23 (月) 21:43, Tonghao Zhang wrote: > >>> On Mon, Jul 23, 2018 at 5:58 PM Toshiaki Makita > >>> wrote: > >

Re: [PATCH net-next v6 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()

2018-07-23 Thread Toshiaki Makita
On 2018/07/24 2:31, Tonghao Zhang wrote: > On Mon, Jul 23, 2018 at 10:20 PM Toshiaki Makita > wrote: >> >> On 18/07/23 (月) 21:43, Tonghao Zhang wrote: >>> On Mon, Jul 23, 2018 at 5:58 PM Toshiaki Makita >>> wrote: On 2018/07/22 3:04, xiangxia.m@gmail.com wrote: > From: Tonghao

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

2018-07-23 Thread Wei Wang
On 07/23/2018 10:13 PM, Michael S. Tsirkin wrote: vb->vb_dev_info.inode->i_mapping->a_ops = _aops; #endif + err = virtio_balloon_register_shrinker(vb); + if (err) + goto out_del_vqs; So we can get scans before device is ready. Leak will fail then. Why not

Call for Papers - ICITS'19 - Quito, Ecuador

2018-07-23 Thread Maria
* Proceedings by Springer. Indexed in Scopus, ISI, etc. ICITS'19 - The 2019 International Conference on Information Technology & Systems 6 - 8 February 2019, Quito, Ecuador http://www.icits.me/ --

Re: [PATCH net-next v6 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()

2018-07-23 Thread Tonghao Zhang
On Mon, Jul 23, 2018 at 10:20 PM Toshiaki Makita wrote: > > On 18/07/23 (月) 21:43, Tonghao Zhang wrote: > > On Mon, Jul 23, 2018 at 5:58 PM Toshiaki Makita > > wrote: > >> > >> On 2018/07/22 3:04, xiangxia.m@gmail.com wrote: > >>> From: Tonghao Zhang > >>> > >>> Factor out generic busy

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

2018-07-23 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) 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 enables the

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

2018-07-23 Thread Michael S. Tsirkin
On Mon, Jul 23, 2018 at 06:30:46PM +0800, Wei Wang wrote: > On 07/22/2018 10:48 PM, Michael S. Tsirkin wrote: > > On Fri, Jul 20, 2018 at 04:33:02PM +0800, Wei Wang wrote: > > > +static unsigned long virtio_balloon_shrinker_scan(struct shrinker > > > *shrinker, > > > +

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

2018-07-23 Thread Michael S. Tsirkin
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 enables the virtio-balloon driver to report > hints of guest free

Re: [PATCH net-next v6 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()

2018-07-23 Thread Tonghao Zhang
On Mon, Jul 23, 2018 at 5:58 PM Toshiaki Makita wrote: > > On 2018/07/22 3:04, xiangxia.m@gmail.com wrote: > > From: Tonghao Zhang > > > > Factor out generic busy polling logic and will be > > used for in tx path in the next patch. And with the patch, > > qemu can set differently the

[PATCH 4.4 018/107] x86/paravirt: Make native_save_fl() extern inline

2018-07-23 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nick Desaulniers commit d0a8d9378d16eb3c69bd8e6d23779fbdbee3a8c7 upstream. native_save_fl() is marked static inline, but by using it as a function pointer in arch/x86/kernel/paravirt.c, it

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

2018-07-23 Thread Wei Wang
On 07/22/2018 10:48 PM, Michael S. Tsirkin wrote: On Fri, Jul 20, 2018 at 04:33:02PM +0800, Wei Wang wrote: +static unsigned long virtio_balloon_shrinker_scan(struct shrinker *shrinker, + struct shrink_control *sc) +{ + unsigned long

Re: [PATCH net-next v6 3/4] net: vhost: factor out busy polling logic to vhost_net_busy_poll()

2018-07-23 Thread Toshiaki Makita
On 2018/07/22 3:04, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > Factor out generic busy polling logic and will be > used for in tx path in the next patch. And with the patch, > qemu can set differently the busyloop_timeout for rx queue. > > Signed-off-by: Tonghao Zhang > --- ...

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

2018-07-23 Thread Michael S. Tsirkin
On Mon, Jul 23, 2018 at 11:58:23AM +0530, Anshuman Khandual wrote: > 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]

Patch "x86/paravirt: Make native_save_fl() extern inline" has been added to the 4.4-stable tree

2018-07-23 Thread gregkh
This is a note to let you know that I've just added the patch titled x86/paravirt: Make native_save_fl() extern inline to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

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

2018-07-23 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