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

2018-11-29 Thread Konrad Rzeszutek Wilk
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 > across multiple functions. > > Consolidate all checks needed for updating speculation

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

2018-11-26 Thread Borislav Petkov
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

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

2018-11-25 Thread Thomas Gleixner
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 across multiple functions. Consolidate all checks needed for updating speculation control MSRs into the new __speculation_ctrl_update() helper function.