diff options
author | Andy Lutomirski <[email protected]> | 2017-11-02 00:59:01 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-11-02 11:04:38 +0100 |
commit | e872045bfd9c465a8555bab4b8567d56a4d2d3bb (patch) | |
tree | ffa83766c761553325b3d1a6c2115f525ec3fcb7 /lib/memory-notifier-error-inject.c | |
parent | 8a055d7f411d41755ce30db5bb65b154777c4b78 (diff) |
x86/entry/64: Simplify reg restore code in the standard IRET paths
The old code restored all the registers with movq instead of pop.
In theory, this was done because some CPUs have higher movq
throughput, but any gain there would be tiny and is almost certainly
outweighed by the higher text size.
This saves 96 bytes of text.
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/ad82520a207ccd851b04ba613f4f752b33ac05f7.1509609304.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions