Re: [PATCH] vhost: Make use of the helper macro kthread_run()

2022-01-27 Thread Michael S. Tsirkin
On Thu, Jan 27, 2022 at 10:08:07AM +0800, Yin Xiujiang wrote: > Repalce kthread_create/wake_up_process() with kthread_run() > to simplify the code. > > Signed-off-by: Yin Xiujiang > --- > drivers/vhost/vhost.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/vh

Re: [PATCH] vhost: Make use of the helper macro kthread_run()

2022-01-27 Thread Jason Wang
On Thu, Jan 27, 2022 at 10:08 AM Yin Xiujiang wrote: > > Repalce kthread_create/wake_up_process() with kthread_run() > to simplify the code. > > Signed-off-by: Yin Xiujiang > --- > drivers/vhost/vhost.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/vhost/vhos

Re: [PATCH] vhost: Make use of the helper macro kthread_run()

2021-10-27 Thread Mike Christie
On 10/27/21 3:02 PM, Michael S. Tsirkin wrote: > On Thu, Oct 21, 2021 at 04:44:06PM +0800, Cai Huoqing wrote: >> Repalce kthread_create/wake_up_process() with kthread_run() >> to simplify the code. >> >> Signed-off-by: Cai Huoqing > > Pls check how this interacts with Mike Christie's patches. > P

Re: [PATCH] vhost: Make use of the helper macro kthread_run()

2021-10-27 Thread Michael S. Tsirkin
On Thu, Oct 21, 2021 at 04:44:06PM +0800, Cai Huoqing wrote: > Repalce kthread_create/wake_up_process() with kthread_run() > to simplify the code. > > Signed-off-by: Cai Huoqing Pls check how this interacts with Mike Christie's patches. Pls fix up the typo in the commit log. > --- > drivers/vh

[PATCH] vhost: Make use of the helper macro kthread_run()

2021-10-21 Thread Cai Huoqing
Repalce kthread_create/wake_up_process() with kthread_run() to simplify the code. Signed-off-by: Cai Huoqing --- drivers/vhost/vhost.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 59edb5a1ffe2..e67bd5603b5f 100644 -