Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ftrace: Revert 8ab2b7e ftrace: Remove unnecessary disabling of irqs
Revert the commit that removed the disabling of interrupts around the initial modifying of mcount callers to nops, and update the comment. The original comment was outdated and stated that the interrupts were being disabled to prevent kstop machine, which was required with the old ftrace daemon, but was no longer the case. What the comment failed to mention was that interrupts needed to be disabled to keep interrupts from preempting the modifying of the code and then executing the code that was partially modified. Revert the commit and update the comment. Reported-by: Richard W.M. Jones <[email protected]> Tested-by: Richard W.M. Jones <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
- Loading branch information