Re: [RFC][PATCH v3] ftrace/x86_64: Emulate call function while updating in breakpoint handler

From: Linus Torvalds
Date: Wed May 01 2019 - 15:42:50 EST


On Wed, May 1, 2019 at 12:17 PM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> Something like so then?

Yes, that looks correct.

We have those X86_EFLAGS_VM tests pretty randomly scattered around,
and I wish there was some cleaner model for this, but I also guess
that there's no point in worrying about the 32-bit code much.

Linus