Re: [PATCH 3/3] vhost: Fix livepatch timeouts in vhost_worker()

From: Petr Mladek
Date: Wed Feb 15 2023 - 08:31:54 EST


On Thu 2023-02-09 11:17:49, Josh Poimboeuf wrote:
> Livepatch timeouts were reported due to busy vhost_worker() kthreads.
> Now that cond_resched() can do livepatch task switching, use
> cond_resched() in vhost_worker(). That's the better way to
> conditionally call schedule() anyway.
>
> Reported-by: Seth Forshee (DigitalOcean) <sforshee@xxxxxxxxxxxxxxxx>
> Link: https://lkml.kernel.org/lkml/20230120-vhost-klp-switching-v1-0-7c2b65519c43@xxxxxxxxxx
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr