Re: [PATCH] livepatch: introduce klp_func called interface

From: Miroslav Benes
Date: Fri May 31 2024 - 03:21:14 EST


Hi,

On Fri, 31 May 2024, zhang warden wrote:

>
> Hi Bros,
>
> How about my patch? I do think it is a viable feature to show the state
> of the patched function. If we add an unlikely branch test before we set
> the 'called' state, once this function is called, there maybe no
> negative effect to the performance.

you have not replied to my questions/feedback yet.

Also, I do not think that unlikely changes anything here. It is a simple
branch after all.

Miroslav