[PATCH] kernel: Ftrace seems to have functions to improve performance through optimization

Steven Rostedt rostedt at goodmis.org
Thu May 12 08:07:25 PDT 2022


On Thu, 12 May 2022 22:45:32 +0800
Li kunyu <kunyu at nfschina.com> wrote:

> I'm glad you're willing to reply to me. 
> My current English level is limited, and I may not describe it correctly. 
> I consider that these functions may not be modified in a short time,
> which may bring advantages in function performance. I could only submit
> it by inquiry.

The performance improvement is negligible, and not worth the churn (changes
to the code). And if that is the reason for the change, it is not worth
adding it.

Now if the reason for the change is to clean up the code to remove
something that is not used, then it may be something to add if it is not
too intrusive.

-- Steve




More information about the linux-riscv mailing list