lkml.org 
[lkml]   [2018]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] x86/entry: xorq->xorl; idtentry size reduction
Date
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@dominikbrodowski.net

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

\
 
 \ /
  Last update: 2018-02-14 19:01    [W:0.065 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site