kernel - Implement spectre mitigations part 4 (cleanup)

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 11 January 2018 20:51 EST

- Cleanup the detection code a bit. Do not turn on global spectre_*_supported flags unless all cpus agree.

201226a620 kernel - Implement spectre mitigations part 4 (cleanup)
sys/platform/pc64/x86_64/vm_machdep.c | 41 ++++++++++++++++++++++++-----------
1 file changed, 28 insertions(+), 13 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share