Re: [patch V4 part 4 02/24] x86/int3: Avoid atomic instrumentation

From: Andy Lutomirski
Date: Thu May 14 2020 - 00:58:07 EST


On Tue, May 5, 2020 at 7:15 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
>
> Use arch_atomic_*() and READ_ONCE_NOCHECK() to ensure nothing untoward
> creeps in and ruins things.
>
> That is; this is the INT3 text poke handler, strictly limit the code
> that runs in it, lest it inadvertenly hits yet another INT3.


Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>

Does objtool catch this error?