kernel - Implement spectre mitigations part 4 (cleanup)
commit201226a62051719b340669204c1c19df98b9f2f2
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 11 Jan 2018 20:50:31 +0000 (11 12:50 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 11 Jan 2018 20:51:25 +0000 (11 12:51 -0800)
treea144556e10fb83c18fc80a1998f5c16fa8aeceeb
parent26c7e964f6a833dbc90ca58e29fc63bccecc0b55
kernel - Implement spectre mitigations part 4 (cleanup)

* Cleanup the detection code a bit.  Do not turn on global
  spectre_*_supported flags unless all cpus agree.
sys/platform/pc64/x86_64/vm_machdep.c