2022-05-12 20:57:19

by Li kunyu

[permalink] [raw]
Subject: Re: [PATCH] kernel: Ftrace seems to have functions to improve performance through optimization


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.

Thanks.



2022-05-14 02:28:52

by Steven Rostedt

[permalink] [raw]
Subject: Re: [PATCH] kernel: Ftrace seems to have functions to improve performance through optimization

On Thu, 12 May 2022 22:45:32 +0800
Li kunyu <[email protected]> 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