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

Peter Zijlstra posted 2 patches 2 years ago
[PATCH 0/2] x86/entry: Trade cycles
Posted by Peter Zijlstra 2 years ago
Hi,

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.
Re: [PATCH 0/2] x86/entry: Trade cycles
Posted by Thomas Gleixner 2 years ago
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@linutronix.de>