# Re: \[PATCH 0/3\] livepatch,sched: Add livepatch task switching to cond\_resched()

- From: Seth Forshee \<sforshee@kernel.org\>
- Date: 2023-02-10 21:08:39 
- List: live-patching
- Page: https://ratatoskr.run/live-patching/2023/02/2098265
- Thread: https://ratatoskr.run/live-patching/2023/02/2096952/t.md

```text
On Thu, Feb 09, 2023 at 11:17:46AM -0800, Josh Poimboeuf wrote:
> Fix patching stalls caused by busy kthreads.
> 
> Josh Poimboeuf (3):
>   livepatch: Skip task_call_func() for current task
>   livepatch,sched: Add livepatch task switching to cond_resched()
>   vhost: Fix livepatch timeouts in vhost_worker()

This is working perfectly in my testing. The busy vhost threads get
switched immediately. Thanks for working up these patches!

Tested-by: Seth Forshee (DigitalOcean) <sforshee@kernel.org>

Thanks,
Seth
```
