Re: [patch V2 07/28] x86/speculation: Reorganize speculation control MSRs update

From: Borislav Petkov
Date: Mon Nov 26 2018 - 10:47:10 EST


On Sun, Nov 25, 2018 at 07:33:35PM +0100, Thomas Gleixner wrote:
> The logic to detect whether there's a change in the previous and next
> task's flag relevant to update speculation control MSRs are spread out

s/are/is/

> across multiple functions.
>
> Consolidate all checks needed for updating speculation control MSRs into
> the new __speculation_ctrl_update() helper function.
>
> This makes it easy to pick the right speculation control MSR and the bits
> in the MSR that needs updating based on TIF flags changes.

s/needs/need/

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.