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

2018-11-21 Thread Thomas Gleixner
From: Tim Chen 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()

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

2018-11-21 Thread Thomas Gleixner
From: Tim Chen 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()