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.
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 <[email protected]>