diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-02-11 11:49:44 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-02-13 09:04:53 +0100 |
commit | f7bafa2b05ef25eda1d9179fd930b0330cf2b7d1 (patch) | |
tree | 376d948cc86ebb186e30ec8c36bc9dfedf8e1271 /fs/read_write.c | |
parent | 502af0d70843c2a9405d7ba1f79b4b0305aaf5f5 (diff) | |
download | linux-f7bafa2b05ef25eda1d9179fd930b0330cf2b7d1.tar.bz2 |
x86/entry/64: Interleave XOR register clearing with PUSH instructions
Same as is done for syscalls, interleave XOR with PUSH instructions
for exceptions/interrupts, in order to minimize the cost of the
additional instructions required for register clearing.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: dan.j.williams@intel.com
Link: http://lkml.kernel.org/r/20180211104949.12992-4-linux@dominikbrodowski.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions