Re: [PATCH v6] ftrace: disable preemption when recursion locked

2021-10-26 Thread 王贇
Hi, Steven, Miroslav Should have fixed the comments about bit value, besides, add a warn in trace_clear_recursion() to make sure the bit < 0 abusing case will get notified. Please let me know if there are any other issues :-) Regards, Michael Wang On 2021/10/27 上午10:11, 王贇 wrote: > As the

[PATCH v6] ftrace: disable preemption when recursion locked

2021-10-26 Thread 王贇
As the documentation explained, ftrace_test_recursion_trylock() and ftrace_test_recursion_unlock() were supposed to disable and enable preemption properly, however currently this work is done outside of the function, which could be missing by mistake. And since the internal using of