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

2020-12-15 Thread Jason Wang
gt; ; > > virtualizat...@lists.linux-foundation.org; > > Lilijun (Jerry) ; chenchanghu > > ; xudingke ; huangbin (J) > > > > Subject: Re: [PATCH net 2/2] vhost_net: fix high cpu load when sendmsg > > fails > > > > > > > > - Original Mes

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

2020-12-15 Thread wangyunjian
(Jerry) ; chenchanghu > ; xudingke ; huangbin (J) > > Subject: Re: [PATCH net 2/2] vhost_net: fix high cpu load when sendmsg fails > > > > - Original Message - > > > > > > > -Original Message- > > > From: Jason Wang [mailto:jasow

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

2020-12-15 Thread Jason Wang
m > > Cc: virtualizat...@lists.linux-foundation.org; Lilijun (Jerry) > > ; chenchanghu ; > > xudingke ; huangbin (J) > > > > Subject: Re: [PATCH net 2/2] vhost_net: fix high cpu load when sendmsg > > fails > > > > > > On 2020/12/15 上午9:48, wan

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

2020-12-15 Thread wangyunjian
y) > ; chenchanghu ; > xudingke ; huangbin (J) > > Subject: Re: [PATCH net 2/2] vhost_net: fix high cpu load when sendmsg fails > > > On 2020/12/15 上午9:48, wangyunjian wrote: > > From: Yunjian Wang > > > > Currently we break the loop and wake up the vhos

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

2020-12-14 Thread Jason Wang
On 2020/12/15 上午9:48, 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 description by ignoring the er