Skip to content

RFC x86/retpoline: Retpoline on a diet

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/retpoline: Simplify retpolinesarch/x86/include/asm/asm-prototypes.h arch/x86/include/asm/nospec-branch.h arch/x86/lib/retpoline.S +1 more+21 -291 reply
2/2x86/retpoline: Compress retpolinesarch/x86/lib/retpoline.S+2 -22 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBorislav Petkov
1/2
2/2R-b

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

Read the v1 thread

Cover letter [RFC][PATCH 0/2] x86/retpoline: Retpoline on a diet

Hi!

The first patch rearranges the implementation and consolidates unused bytes. The second patch uses INT3 over LFENCE to shrink the retpoline to 15 bytes, by which 4 can live in a cacheline.

Patches have been boot tested on my IVB.