~/talk

JumpSwitches: Restoring the Performance of Indirect Branches In the Era of Spectre

Talkat USENIX ATC '19 · on Thursday, 2019-07-11· at 17:10· USENIX ATC Track II: Grand Ballroom VII–IX· [security]
links:none on file
links:none on file
links:none on file
slides:none on file

JumpSwitches implement just-in-time promotion of indirect calls by runtime learning, an efficient patching worker thread, and on-the-fly binary rewriting integrated into Linux v4.18. They convert frequent indirect targets into direct calls, use index-mapped syscall trees and per-process kernel code pages to handle syscall diversity, and fall back to retpoline when uncertain. Evaluation shows up to 20% better performance than retpolines, occasional wins over unmitigated kernels by reducing mispredictions, and submitted patches upstream.

AI-written summary · about

  1. 0:00Understanding spectre v2
  2. 1:43Retpoline limitations
  3. 2:49Indirect branch promotion
  4. 5:57Handling complex branches
  5. 9:37Optimizing call chains
  6. 11:27Performance results
  7. 14:40Q&A and discussion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.