Re: [PATCH 3/3] x86/static_call: Add support for Jcc tail-calls

From: Steven Rostedt
Date: Tue Jan 24 2023 - 10:08:03 EST


On Tue, 24 Jan 2023 14:06:49 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > Just to confirm, as it's not clear if this is the static call site or one
> > of the functions that is being called.
>
> Ah, you've not looked at enough asm then? ;-) Yes this is the static
> call site, see the __SCT_ target (instruction at 0x35d).

Yeah, could you specify it a bit more in the change log such that those
looking back at this don't have to have that requirement of staring at
enough asm ;-)

It's actually been some time since I stared at compiler output (although
now that I'm starting to play with rust, that's going to start back up
soon).

-- Steve