Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails

2020-12-13 Thread Jason Wang
; xudingke Subject: Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails On 2020/12/9 下午9:27, wangyunjian wrote: -Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: Wednesday, December 9, 2020 8:50 PM To: wangyunjian Cc: jasow...@redhat.com; virtualizat

Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails

2020-12-13 Thread Jason Wang
; xudingke Subject: Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails On 2020/12/9 下午9:27, wangyunjian wrote: -Original Message- From: Michael S. Tsirkin [mailto:m...@redhat.com] Sent: Wednesday, December 9, 2020 8:50 PM To: wangyunjian Cc: jasow...@redhat.com; virtualizat

RE: [PATCH net] vhost_net: fix high cpu load when sendmsg fails

2020-12-10 Thread wangyunjian
xudingke > Subject: Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails > > > On 2020/12/9 下午9:27, wangyunjian wrote: > >> -Original Message- > >> From: Michael S. Tsirkin [mailto:m...@redhat.com] > >> Sent: Wednesday, December 9,

Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails

2020-12-10 Thread Jason Wang
) ; chenchanghu ; xudingke Subject: Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails On Wed, Dec 09, 2020 at 07:48:24PM +0800, wangyunjian wrote: From: Yunjian Wang Currently we break the loop and wake up the vhost_worker when sendmsg fails. When the worker wakes up again, we'll mee

RE: [PATCH net] vhost_net: fix high cpu load when sendmsg fails

2020-12-09 Thread wangyunjian
dingke > Subject: Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails > > On Wed, Dec 09, 2020 at 07:48:24PM +0800, wangyunjian wrote: > > From: Yunjian Wang > > > > Currently we break the loop and wake up the vhost_worker when sendmsg > > fails. Whe

Re: [PATCH net] vhost_net: fix high cpu load when sendmsg fails

2020-12-09 Thread Michael S. Tsirkin
On Wed, Dec 09, 2020 at 07:48:24PM +0800, wangyunjian wrote: > From: Yunjian Wang > > Currently we break the loop and wake up the vhost_worker when > sendmsg fails. When the worker wakes up again, we'll meet the > same error. This will cause high CPU load. To fix this issue, > we can skip this de

[PATCH net] vhost_net: fix high cpu load when sendmsg fails

2020-12-09 Thread wangyunjian
From: Yunjian Wang Currently we break the loop and wake up the vhost_worker when sendmsg fails. When the worker wakes up again, we'll meet the same error. This will cause high CPU load. To fix this issue, we can skip this description by ignoring the error. Signed-off-by: Yunjian Wang --- drive