Re: [PATCH V2 04/15] x86/fsgsbase/64: Factor out load FS/GS segments from __switch_to

From: Andy Lutomirski
Date: Thu May 31 2018 - 16:17:10 EST


On Thu, May 31, 2018 at 10:58 AM Chang S. Bae <chang.seok.bae@xxxxxxxxx> wrote:
>
> Instead of open code, load_fsgs() will cleanup __switch_to
> and symmetric with FS/GS segment save. When FSGSBASE
> enabled, X86_FEATURE_FSGSBASE check will be incorporated.

Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>