Re: [PATCH -tip v2] x86/kprobes: Drop removed INT3 handling code

From: Steven Rostedt
Date: Sun Jan 21 2024 - 10:33:34 EST


On Sun, 21 Jan 2024 10:31:44 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> My guess is that qemu does not treat the IPI being sent as a memory
> barrier, and then the CPUs do not see a consistent memory view after
> the IPIs are sent. That's a bug in qemu!

More specifically, I bet qemu may be doing a dcache barrier, but not an
icache barrier in the interrupt. If the code is already in qemu's
pipeline, it may not be flushing it like real hardware would do.

-- Steve