Re: [RFC][PATCH 01/17] x86/alternative: Unconditional custom return thunk

From: Borislav Petkov
Date: Thu Aug 10 2023 - 07:38:07 EST


On Wed, Aug 09, 2023 at 09:12:19AM +0200, Peter Zijlstra wrote:

Please add a verb to the subject:

"Make the custom return thunk unconditional"

or so.

> There is infrastructure to rewrite return thunks to point to any
> random thunk one desires, unwrap that from CALL_THUNKS, which up to
> now was the sole user of that.

And yes, provided we can do the thing in the next patch which makes
sense to me, ack.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette