search for: vhost_busy_poll_interrupted

Displaying 7 results from an estimated 7 matches for "vhost_busy_poll_interrupted".

2018 Jun 29
5
[PATCH vhost] vhost_net: Fix too many vring kick on busypoll
...ndtime) { - return likely(!need_resched()) && - likely(!time_after(busy_clock(), endtime)) && - likely(!signal_pending(current)) && - !vhost_has_work(dev); + return likely(!need_resched() && !time_after(busy_clock(), endtime)); +} + +static bool vhost_busy_poll_interrupted(struct vhost_dev *dev) +{ + return unlikely(signal_pending(current)) || vhost_has_work(dev); } static void vhost_net_disable_vq(struct vhost_net *n, @@ -437,10 +438,21 @@ static int vhost_net_tx_get_vq_desc(struct vhost_net *net, if (r == vq->num && vq->busyloop_timeout) {...
2018 Jun 29
5
[PATCH vhost] vhost_net: Fix too many vring kick on busypoll
...ndtime) { - return likely(!need_resched()) && - likely(!time_after(busy_clock(), endtime)) && - likely(!signal_pending(current)) && - !vhost_has_work(dev); + return likely(!need_resched() && !time_after(busy_clock(), endtime)); +} + +static bool vhost_busy_poll_interrupted(struct vhost_dev *dev) +{ + return unlikely(signal_pending(current)) || vhost_has_work(dev); } static void vhost_net_disable_vq(struct vhost_net *n, @@ -437,10 +438,21 @@ static int vhost_net_tx_get_vq_desc(struct vhost_net *net, if (r == vq->num && vq->busyloop_timeout) {...
2018 Jul 02
2
[PATCH vhost] vhost_net: Fix too many vring kick on busypoll
...5.43 >> ???????????????? Recv????? 4.17?????????????? 5.26 >> TCP_STREAM???????????? 8801.03??? 45794?? 9592.77???? 2884 > > Impressive numbers. > >> >> Signed-off-by: Toshiaki Makita <makita.toshiaki at lab.ntt.co.jp> >> --- ... >> +static bool vhost_busy_poll_interrupted(struct vhost_dev *dev) >> +{ >> +??? return unlikely(signal_pending(current)) || vhost_has_work(dev); >> ? } >> ? ? static void vhost_net_disable_vq(struct vhost_net *n, >> @@ -437,10 +438,21 @@ static int vhost_net_tx_get_vq_desc(struct >> vhost_net *net, >&g...
2018 Jul 02
2
[PATCH vhost] vhost_net: Fix too many vring kick on busypoll
...5.43 >> ???????????????? Recv????? 4.17?????????????? 5.26 >> TCP_STREAM???????????? 8801.03??? 45794?? 9592.77???? 2884 > > Impressive numbers. > >> >> Signed-off-by: Toshiaki Makita <makita.toshiaki at lab.ntt.co.jp> >> --- ... >> +static bool vhost_busy_poll_interrupted(struct vhost_dev *dev) >> +{ >> +??? return unlikely(signal_pending(current)) || vhost_has_work(dev); >> ? } >> ? ? static void vhost_net_disable_vq(struct vhost_net *n, >> @@ -437,10 +438,21 @@ static int vhost_net_tx_get_vq_desc(struct >> vhost_net *net, >&g...
2018 Jun 29
0
[PATCH vhost] vhost_net: Fix too many vring kick on busypoll
...sched()) && > - likely(!time_after(busy_clock(), endtime)) && > - likely(!signal_pending(current)) && > - !vhost_has_work(dev); > + return likely(!need_resched() && !time_after(busy_clock(), endtime)); > +} > + > +static bool vhost_busy_poll_interrupted(struct vhost_dev *dev) > +{ > + return unlikely(signal_pending(current)) || vhost_has_work(dev); > } > > static void vhost_net_disable_vq(struct vhost_net *n, > @@ -437,10 +438,21 @@ static int vhost_net_tx_get_vq_desc(struct vhost_net *net, > > if (r == vq->num &...
2018 Jul 02
0
[PATCH vhost] vhost_net: Fix too many vring kick on busypoll
...???????????????? Recv????? 4.17?????????????? 5.26 >>> TCP_STREAM???????????? 8801.03??? 45794?? 9592.77???? 2884 >> Impressive numbers. >> >>> Signed-off-by: Toshiaki Makita <makita.toshiaki at lab.ntt.co.jp> >>> --- > ... >>> +static bool vhost_busy_poll_interrupted(struct vhost_dev *dev) >>> +{ >>> +??? return unlikely(signal_pending(current)) || vhost_has_work(dev); >>> ? } >>> ? ? static void vhost_net_disable_vq(struct vhost_net *n, >>> @@ -437,10 +438,21 @@ static int vhost_net_tx_get_vq_desc(struct >>&...
2018 Jun 29
0
[PATCH vhost] vhost_net: Fix too many vring kick on busypoll
...sched()) && > - likely(!time_after(busy_clock(), endtime)) && > - likely(!signal_pending(current)) && > - !vhost_has_work(dev); > + return likely(!need_resched() && !time_after(busy_clock(), endtime)); > +} > + > +static bool vhost_busy_poll_interrupted(struct vhost_dev *dev) > +{ > + return unlikely(signal_pending(current)) || vhost_has_work(dev); > } > > static void vhost_net_disable_vq(struct vhost_net *n, > @@ -437,10 +438,21 @@ static int vhost_net_tx_get_vq_desc(struct vhost_net *net, > > if (r == vq->...