[PATCH 0/2] x86/entry: xorq->xorl; idtentry size reduction
From: Dominik Brodowski
Date: Wed Feb 14 2018 - 13:00:55 EST
These two patches apply on top of tip/pti.
The first one cuts the idtentry macro as suggested by Linus.
I'm not sure whether this patch yet needs an explicit SOB by
him though. It was previously sent as RFC / testing only patch
"8/7" to the previous x86/entry-related series, cf.
http://lkml.kernel.org/r/20180211104949.12992-9-linux@xxxxxxxxxxxxxxxxxxxx
The other one replaces the xorq-based register cleaning with an
equivalent xorl-based version, which is supposed to be faster on
some architectures.
Thanks,
Dominik
Dominik Brodowski (2):
x86/entry: reduce static footprint of idtentry
x86/entry/64: use xorl for register clearing
arch/x86/entry/calling.h | 27 +++++++++++++-------
arch/x86/entry/entry_64.S | 18 ++++++--------
arch/x86/entry/entry_64_compat.S | 54 ++++++++++++++++++++--------------------
3 files changed, 53 insertions(+), 46 deletions(-)
--
2.16.1