|
|
Log in / Subscribe / Register

Relief for retpoline pain

Relief for retpoline pain

Posted Dec 15, 2018 6:01 UTC (Sat) by patrakov (subscriber, #97174)
Parent article: Relief for retpoline pain

I don't fully understand how relpolines prevent speculation. Win't the CPU itself also learn the most common case and speculate along it? "OK, this if usually takes the true branch, and then there is a direct call right there, and then it loads this yummy stuff into memory, let's do that speculatively".


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds