# Re: \[RESEND PATCH v2 1/2\] ftrace: disable preemption between ftrace\_test\_recursion\_trylock/unlock()

- From: 王贇 \<hidden\>
- Date: 2021-10-13 08:35:03 
- List: live-patching
- Page: https://ratatoskr.run/live-patching/2021/10/1540061
- Thread: https://ratatoskr.run/linuxppc-dev/2021/10/1539803/t.md

```text


On 2021/10/13 下午4:25, Miroslav Benes wrote:
>>> Side note... the comment will eventually conflict with peterz's 
>>> https://lore.kernel.org/all/20210929152429.125997206@infradead.org/.
>>
>> Steven, would you like to share your opinion on this patch?
>>
>> If klp_synchronize_transition() will be removed anyway, the comments
>> will be meaningless and we can just drop it :-P
> 
> The comment will still be needed in some form. We will handle it depending 
> on what gets merged first. peterz's patches are not ready yet.

Ok, then I'll move it before trylock() inside klp_ftrace_handler() anyway.

Regards,
Michael Wang

> 
> Miroslav
> 
```
