Commit a41e415e authored by Philippe Gerum's avatar Philippe Gerum
Browse files

ftrace: ipipe: rely on fully atomic stop_machine() handler

Now that stop_machine() guarantees fully atomic execution of the stop
routine via hard interrupt disabling, there is no point in using
ipipe_critical_enter/exit() for the same purpose in order to patch the
kernel text.
parent bdb2e511
......@@ -2716,13 +2716,7 @@ static void ftrace_run_update_code(int command)
* is safe. The stop_machine() is the safest, but also
* produces the most overhead.
flags = ipipe_critical_enter(NULL);
#else /* !CONFIG_IPIPE */
#endif /* !CONFIG_IPIPE */
ret = ftrace_arch_code_modify_post_process();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment