Re: [PATCH] fgraph: Fix missing unlock in register_ftrace_graph()
From: Li Huafei
Date: Thu Oct 24 2024 - 04:04:00 EST
On 2024/10/24 12:46, Steven Rostedt wrote:
> On Thu, 24 Oct 2024 10:45:46 +0800
> Li Huafei <lihuafei1@xxxxxxxxxx> wrote:
>
>> Agreed, this will make the code simpler and avoid mistakes. If we need
>> to replace all mutex(&ftrace_lock), would it be better to submit another
>> cleanup patch? We can fix the issue here first.
>
> This case is a bug fix, just add it here.
>
> We can do a clean up separately for the other locations.
>
Okay, I've already sent v2:
https://lore.kernel.org/lkml/20241024155917.1019580-1-lihuafei1@xxxxxxxxxx/T/#u
Thanks,
Huafei
> -- Steve
>
> .
>