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

2020-06-01 Thread Michael S. Tsirkin
On Tue, Aug 21, 2018 at 08:47:35AM +0800, Jason Wang wrote: > > > 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

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 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

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

2018-08-19 Thread xiangxia . m . yue
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_pending() insead of vhost_has_work(). Topology: [Host] ->linu