Skip to content

Instantly share code, notes, and snippets.

@guneysus
Forked from rizalp/disable_spectre.md
Created May 23, 2021 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guneysus/9132941f0873a6906d3224337afbaa2e to your computer and use it in GitHub Desktop.
Save guneysus/9132941f0873a6906d3224337afbaa2e to your computer and use it in GitHub Desktop.
Disable Spectre/Meltdown Mitigation

In /etc/default/grub, modify:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off"

Then sudo update-grub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment