By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Linux 6.18 Lands Retpoline Optimization To Help With Intel E Cores
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Linux 6.18 Lands Retpoline Optimization To Help With Intel E Cores
Computing

Linux 6.18 Lands Retpoline Optimization To Help With Intel E Cores

News Room
Last updated: 2025/10/11 at 4:09 PM
News Room Published 11 October 2025
Share
SHARE

The Linux 6.18 merge window is winding down this weekend ahead of Linux 6.18-rc1 expected on Sunday. Merged today were some remaining x86 core updates, which includes a Retpoline optimization patch intended to help out Intel E core CPUs.

Return trampolines “Retpolines” are needed for Spectre Variant Two mitigations. Intel engineer Peter Zijlstra landed a patch for optimizing the x86 patch_retpoline() code within the kernel. He explains with the patch:

Currently the very common retpoline: “CS CALL __x86_indirect_thunk_r11” is transformed into “CALL *R11; NOP3” for eIBRS/BHI_NO parts.

Similarly, paranoid fineibt has: “CALL *R11; NOP”.

Recognise that CS stuffing can avoid the extra NOP. However, due to prefix decode penalties, make sure to not emit too many CS prefixes. Notably: “CS CALL __x86_indirect_thunk_rax” must not become “CS CS CS CS CALL *RAX”. Prefix decode penalties are typically many more cycles than decoding an extra NOP.

Additionally, if the retpoline is a tail-call, the “JMP *%reg” should be followed by INT3 for straight-line-speculation mitigation, since emit_indirect() now has a length argument, move this into emit_indirect() such that other users (paranoid-fineibt) also do this.

The original mailing list post for the patch adds more context:

“Finding the exact prefix decode penalties for uarchs that have eIBRS/BHI_NO is not a fun time. I’ve stuck to the general wisdom that 3 prefixes is mostly good (notably, the instruction at hand has no 0x0f escape which is sometimes counted towards the prefix budget — it can have a REX prefix, but those are generally not counted towards the prefix budget).

In general Intel P-cores do not have prefix decode penalties, but the E-cores (or rather the Atom line) generally does. And since this all runs on hybrid cores, the code must accommodate them.

I hate all this.”

That patch was merged to Linux Git today via the x86/core pull ahead of Linux 6.18-rc1 tomorrow.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article How to Download YouTube Videos
Next Article Portugal vs. Republic of Ireland: Livestream World Cup 2026 Qualifier Soccer From Anywhere
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Google Chrome was using 30GB RAM until I made this tweak
Computing
HP 400 Quiet Wireless Mouse Review: A Capable, Colorful Budget Clicker
News
How to Navigate AI Overwhelm | HackerNoon
Computing
Internxt Cloud Storage
News

You Might also Like

Computing

Google Chrome was using 30GB RAM until I made this tweak

6 Min Read
Computing

How to Navigate AI Overwhelm | HackerNoon

8 Min Read
Computing

‘Seis the moment’: Earthquake monitors measure shaking during Mariners’ epic playoff win in Seattle

3 Min Read
Computing

Android’s sideloading limits are its most anti-consumer move yet

7 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?