Skip to content

x86/entry: xorq->xorl; idtentry size reduction

Dominik Brodowski lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/entry: reduce static footprint of idtentryarch/x86/entry/calling.h arch/x86/entry/entry_64.S+18 -111 reply
2/2x86/entry/64: use xorl for register clearingarch/x86/entry/calling.h arch/x86/entry/entry_64_compat.S+35 -350 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] x86/entry: xorq->xorl; idtentry size reduction

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/[email protected]

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(-)
Signature · 1 line
2.16.1