Skip to content

x86/entry: Trade cycles

Peter Zijlstra lkml 1 version Applied

Status from this message: The following commit has been merged into the x86/entry branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2x86/entry: Optimize common_interrupt_return()arch/x86/entry/calling.h arch/x86/entry/entry_64.S+24 -50 replies
2/2x86/entry: Harden return-to-userarch/x86/entry/entry_64.S+8 -100 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas Gleixner
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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.