Re: [patch V4 part 4 01/24] x86/int3: Ensure that poke_int3_handler() is not traced

From: Andy Lutomirski
Date: Thu May 14 2020 - 00:57:28 EST


On Tue, May 5, 2020 at 7:15 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
> In order to ensure poke_int3_handler() is completely self contained -- this
> is called while modifying other text, imagine the fun of hitting another
> INT3 -- ensure that everything it uses is not traced.
>
> The primary means here is to force inlining; bsearch() is notrace because
> all of lib/ is.


Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>