[PATCH 0/2] x86/entry: speed up context-tracking system calls by 150 clock cycles

From: Paolo Bonzini
Date: Mon May 30 2016 - 08:30:27 EST


Two simple optimizations to the system call entry/exit code.
The first matches what commit d0e536d8939 ("context_tracking:
avoid irq_save/irq_restore on guest entry and exit", 2015-10-28)
did for guest entry and exit. The second is just adding an
inline annotation.

Thanks,

Paolo

Paolo Bonzini (2):
x86/entry: Avoid interrupt flag save and restore
x86/entry: Inline enter_from_user_mode

arch/x86/entry/common.c | 6 +++---
include/linux/context_tracking.h | 15 +++++++++++++++
2 files changed, 18 insertions(+), 3 deletions(-)

--
2.4.3