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

From
Petr Mladek <pmladek@suse.com>
Date
2023-02-15 13:31:54
Also in
lkml
Reply to
Josh Poimboeuf, 2023-02-09
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) <redacted>
Link: https://lkml.kernel.org/lkml/20230120-vhost-klp-switching-v1-0-7c2b65519c43@kernel.org
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr
Thread (12 messages) 12 messages, 4 authors, last reply 2023-02-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help