# Re: \[PATCH v2 03/11\] sched,livepatch: Use task\_call\_func()

- From: Miroslav Benes \<mbenes@suse.cz\>
- Date: 2021-10-06 09:00:06 
- List: live-patching
- Page: https://ratatoskr.run/live-patching/2021/10/1532588
- Thread: https://ratatoskr.run/live-patching/2021/09/1525995/t.md

```text
On Wed, 29 Sep 2021, Peter Zijlstra wrote:

> Instead of frobbing around with scheduler internals, use the shiny new
> task_call_func() interface.
> 
> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>

This looks really nice. With the added check for "task != current" 
that Petr pointed out

Acked-by: Miroslav Benes <mbenes@suse.cz>

M
```
