[PATCH] kernel: Ftrace seems to have functions to improve performance through optimization through optimization
Steven Rostedt
rostedt at goodmis.org
Tue May 17 07:13:51 PDT 2022
On Fri, 13 May 2022 10:13:14 +0800
Li kunyu <kunyu at nfschina.com> wrote:
> Subject: [PATCH] kernel: Ftrace seems to have functions to improve performance through optimization through optimization
Did you forget to add a subject line. The above looks to be the beginning
of the paragraph below.
> Date: Fri, 13 May 2022 10:13:14 +0800
> Message-Id: <20220513021314.59480-1-kunyu at nfschina.com>
>
> such as ftrace_ARCH_code_*, return 0, so the FTRACE_* check is not required
And even combined, the above makes no sense.
This patch is not an optimization patch. If it were, the optimization
provided is so small, it's not worth adding it.
Just state that it's a clean up (I already told you this). Here, I'll do
the work for you (but I expect a proper patch):
Subject: [PATCH v2] ftrace: Remove return value of ftrace_arch_modify_*()
All instances of the function ftrace_arch_modify_prepare() and
ftrace_arch_modify_post_process() return zero. There's no point in
checking their return value. Just have them be void functions.
There, that's what I would like to see.
-- Steve
>
> Signed-off-by: Li kunyu <kunyu at nfschina.com>
More information about the linux-arm-kernel
mailing list