Re: [patch 02/24] x86/entry/64: Avoid pointless code when CONTEXT_TRACKING=n

Alexandre Chartre
2020-02-28T09:40:59Z

On 2/25/20 11:16 PM, Thomas Gleixner wrote:
> GAS cannot optimize out the test and conditional jump when context tracking
> is disabled and CALL_enter_from_user_mode is an empty macro.
>
> Wrap it in #ifdeffery. Will go away once all this is moved to C.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> ---
> arch/x86/entry/entry_64.S | 2 ++
> 1 file changed, 2 insertions(+)
>

Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>

alex.