Re: [PATCH 0/2] x86/entry: Trade cycles

From: Thomas Gleixner
Date: Tue Nov 21 2023 - 10:26:31 EST


On Mon, Nov 20 2023 at 15:33, Peter Zijlstra wrote:
> Two little patches that trade a little performance. First patch optimizes
> (although I couldn't get definite numbers showing it makes a difference) the
> return to user path by avoiding some PTI specifics in the generic path.
>
> Second patch then steals some of the won cycles by making a debug check
> unconditional.
>
> This came forth from a discussion with amluto who lamented we only had the
> debug check conditional on DEBUG_ENTRY.

Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>