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

From: Alexandre Chartre
Date: Fri Feb 28 2020 - 04:40:59 EST




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@xxxxxxxxxxxxx>
---
arch/x86/entry/entry_64.S | 2 ++
1 file changed, 2 insertions(+)


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

alex.