OpenBSD Journal

Spectre Variant 2 mitigation for kernel committed to -current

Contributed by rueda on from the reduce-speed-now dept.

Working at p2k18, Theo de Raadt (deraadt@) has committed Spectre Variant 2 mitigations:

CVSROOT:	/cvs
Module name:	src
Changes by:	deraadt@cvs.openbsd.org	2018/04/27 09:19:32

Modified files:
	sys/arch/amd64/conf: Makefile.amd64 
	sys/arch/i386/conf: Makefile.i386 

Log message:
-fretpoline for non-RAMDISK kernels.  Skylake product needs it, and
therefore all other x86 cpus must pay the performance price of the
hazard workaround until Skylake disappears from the ecosystem eventually
like 486. This returns your cpu's performance to pre-inflated performance.
ok mlarkin guenther

(Comments are closed)


Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]