Re: [PATCH RESEND] x86-64: use RIP-relative calls for paravirt indirect ones

2018-08-20 Thread Thomas Gleixner
On Wed, 15 Aug 2018, Jan Beulich wrote: > This saves one insn byte per instance, summing up to a savings of over > 4k in my (stripped down) configuration. No variant of to be patched in > replacement code relies on the one byte larger size. > > Signed-off-by: Jan Beulich > Reviewed-by: Juergen G

RE: [PATCH V2 net-next 2/6] sctp: Handle sctp packets with CHECKSUM_PARTIAL

2018-08-20 Thread David Laight
From: Marcelo Ricardo Leitner > Sent: 20 August 2018 15:54 > On Wed, May 02, 2018 at 11:38:24AM -0300, Marcelo Ricardo Leitner wrote: > > On Tue, May 01, 2018 at 10:07:35PM -0400, Vladislav Yasevich wrote: > > > With SCTP checksum offload available in virtio, it is now > > > possible for virtio to

Re: [PATCH net-next v8 0/7] net: vhost: improve performance when enable busyloop

2018-08-20 Thread Michael S. Tsirkin
On Sun, Aug 19, 2018 at 05:11:19AM -0700, xiangxia.m@gmail.com wrote: > 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,

Re: [PATCH net-next v8 7/7] net: vhost: make busyloop_intr more accurate

2018-08-20 Thread Jason Wang
On 2018年08月19日 20:11, xiangxia.m@gmail.com wrote: From: Tonghao Zhang The patch uses vhost_has_work_pending() to check if the specified handler is scheduled, because in the most case, vhost_has_work() return true when other side handler is added to worker list. Use the vhost_has_work_pend

Re: [PATCH net-next v8 5/7] net: vhost: introduce bitmap for vhost_poll

2018-08-20 Thread Jason Wang
On 2018年08月19日 20:11, xiangxia.m@gmail.com wrote: From: Tonghao Zhang The bitmap of vhost_dev can help us to check if the specified poll is scheduled. This patch will be used for next two patches. Signed-off-by: Tonghao Zhang --- drivers/vhost/net.c | 11 +-- drivers/vhost/

Re: [PATCH net-next v8 7/7] net: vhost: make busyloop_intr more accurate

2018-08-20 Thread Jason Wang
On 2018年08月21日 08:33, Jason Wang wrote: On 2018年08月19日 20:11, xiangxia.m@gmail.com wrote: From: Tonghao Zhang The patch uses vhost_has_work_pending() to check if the specified handler is scheduled, because in the most case, vhost_has_work() return true when other side handler is added

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

2018-08-20 Thread Jason Wang
On 2018年08月19日 20:11, 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. To avoid duplicate codes, introduce the helper fu