diff options
author | Andy Lutomirski <luto@kernel.org> | 2018-04-03 15:39:26 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-04-09 18:23:50 +0200 |
commit | 071ccc966ba5db1ac8f5c24b0faebb37698f68db (patch) | |
tree | 47e024d956113461ee2ccab53115f4efd18ff432 /scripts/kconfig | |
parent | 9820e1c3376c641299624dd24646aed3167ad5b1 (diff) | |
download | op-kernel-dev-071ccc966ba5db1ac8f5c24b0faebb37698f68db.zip op-kernel-dev-071ccc966ba5db1ac8f5c24b0faebb37698f68db.tar.gz |
x86/entry/64: Drop idtentry's manual stack switch for user entries
For non-paranoid entries, idtentry knows how to switch from the
kernel stack to the user stack, as does error_entry. This results
in pointless duplication and code bloat. Make idtentry stop
thinking about stacks for non-paranoid entries.
This reduces text size by 5377 bytes.
This goes back to the following commit:
7f2590a110b8 ("x86/entry/64: Use a per-CPU trampoline stack for IDT entries")
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/90aab80c1f906e70742eaa4512e3c9b5e62d59d4.1522794757.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/kconfig')
0 files changed, 0 insertions, 0 deletions