On 10/31/2017 05:43 PM, Brian Gerst wrote: >> >> + RESTORE_CR3 save_reg=%r14 >> + >> testl %ebx, %ebx /* swapgs needed? */ >> jnz nmi_restore >> nmi_swapgs: >> _ > This all needs to be conditional on a config option. Something with > this amount of performance impact needs to be 100% optional.
The 07/23 patch does just this. I should have at least called that out in the description.