-
-
[转帖]Static calls in Linux 5.10
-
发表于: 2020-12-16 23:23 1815
-
Static calls in Linux 5.10
Dec 16, 2020
I was reading the Linux 5.10 release summary on KernelNewbies, and a section stood out to me:
1.6. Static calls for improved post-Spectre performance
Static calls are a replacement for global function pointers. They use code patching to allow direct calls to be used instead of indirect calls. They give the flexibility of function pointers, but with improved performance. This is especially important for cases where retpolines would otherwise be used, as retpolines can significantly impact performance.
I’ve spent a lot of time looking at the Linux kernel, but never directly at its indirect call setup or post-Spectre mitigations. These changes sound very cool, so I’m going to use this post to try and explain and understand them (both to myself and others).
https://blog.yossarian.net/2020/12/16/Static-calls-in-Linux-5-10
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
赞赏
- [转帖]IDM.Computer.Solutions.UltraEdit.Enterprise.v2024.1.0.36.x64.Incl.Keyfilemaker-BTCR 1741
- [转帖]IDM.Computer.Solutions.UEStudio.Enterprise.v2024.1.0.36.x64.Incl.Keyfilemaker-BTCR 1751
- [转帖]IDM.Computer.Solutions.UltraFinder.Enterprise.v2023.0.0.17.x64.Incl.Keyfilemaker-BTCR 1633
- [转帖]JEB Decompiler 5.20.0.202411121942 mod by CXV 1641
- [转帖]Tenorshare.4uKey.for.Android.v2.1.1-AMPED 926