Re: [PATCH] x86/ftrace: use ftrace_write to simplify code

From: chengjian (D)
Date: Tue Jan 14 2020 - 04:20:26 EST



On 2020/1/14 16:16, Peter Zijlstra wrote:
On Tue, Jan 14, 2020 at 01:52:17AM +0000, Cheng Jian wrote:
ftrace_write() can be used in ftrace_modify_code_direct(),
that make the code more brief.

Signed-off-by: Cheng Jian <cj.chengjian@xxxxxxxxxx>
None of the code you're patching still exists. Please see tip/master.

.


I find these patches in TIP. My patch may not be necessary.

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=768ae4406a5cab7e8702550f2446dbeb377b798d

Thank you, Peter.


-- Cheng Jian