Cheat Paper

The Fix That Made System Calls Slower

Sources

  1. kernel.org: Page Table Isolation (PTI)

    CR3 manipulation to switch between the page table copies must be done at interrupt, syscall, and exception entry and exit (it can be skipped when the kernel is interrupted, though.) Moves to CR3 are on the order of a hundred cycles, and are required at every entry and exit.
  2. Wikipedia: Kernel (operating system)

    A kernel is a computer program at the core of a computer's operating system that always has complete control over everything in the system.
  3. Wikipedia: Meltdown (security vulnerability) 2026-11-04

    the two vulnerabilities were made public jointly, on 3 January 2018
  4. meltdownattack.com: Meltdown and Spectre 2026-11-04

    Meltdown breaks the most fundamental isolation between user applications and the operating system. This attack allows a program to access the memory, and thus also the secrets, of other programs and the operating system.
  5. brendangregg.com: KPTI/KAISER Meltdown Initial Performance Regressions 2018-02-09

    At 50k syscalls/sec per CPU the overhead may be 2%, and climbs as the syscall rate increases.

Pictures

  1. Meltdown logo: Natascha Eibl, meltdownattack.com, CC0 (rights waived)

    Meltdown logo by Natascha Eibl, from meltdownattack.com

  2. "Intel Inside" mark: Intel Corporation, Wikipedia, fair use as commentary

    "Intel Inside" mark, Intel Corporation, 1991 (restyled)