Re: [PATCH] x86/speculation: Add document to describe Spectre and its mitigations

From: Tim Chen
Date: Fri Dec 21 2018 - 20:18:12 EST


On 12/21/18 1:59 PM, Ben Greear wrote:
> On 12/21/18 9:44 AM, Tim Chen wrote:
>> Thomas,
>>
>> Andi and I have made an update to our draft of the Spectre admin guide.
>> We may be out on Christmas vacation for a while. But we want to
>> send it out for everyone to take a look.
>
> Can you add a section on how to compile out all mitigations that have anything
> beyond negligible performance impact for those running systems where performance
> is more important than security?
>

If you don't worry about security and performance is paramount, then
boot with "nospectre_v2". That's explained in the document.

Tim