diff options
author | Dominik Brodowski <[email protected]> | 2018-02-11 11:49:45 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-13 09:04:53 +0100 |
commit | 3f01daecd545e818098d84fd1ad43e19a508d705 (patch) | |
tree | d70e4a362d5c8c41ef771107726a8e0ff4972d69 /scripts/gdb/linux/lists.py | |
parent | f7bafa2b05ef25eda1d9179fd930b0330cf2b7d1 (diff) |
x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro
Those instances where ALLOC_PT_GPREGS_ON_STACK is called just before
SAVE_AND_CLEAR_REGS can trivially be replaced by PUSH_AND_CLEAN_REGS.
This macro uses PUSH instead of MOV and should therefore be faster, at
least on newer CPUs.
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions