[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427738975-7391-1-git-send-email-dvlasenk@redhat.com>
Date: Mon, 30 Mar 2015 20:09:30 +0200
From: Denys Vlasenko <dvlasenk@...hat.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: Denys Vlasenko <dvlasenk@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Steven Rostedt <rostedt@...dmis.org>,
Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>,
Andy Lutomirski <luto@...capital.net>,
Oleg Nesterov <oleg@...hat.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Alexei Starovoitov <ast@...mgrid.com>,
Will Drewry <wad@...omium.org>,
Kees Cook <keescook@...omium.org>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/5] x86/asm/entry/64: simplifications
This patchset simplifies jump maze in entry_64.S a bit by moving
"retint_kernel" code block, and follows up with simplifications
which become obvious after the move.
Two labels and one define is gone
One label is no longer .global
One redundand DISABLE_INTERRUPTS is gone
A few jump and test instructions use shorter forms now
text data bss dec hex filename
12706 0 0 12706 31a2 entry_64.o.before
12658 0 0 12658 3172 entry_64.o
Patchset was run-tested (running it while writing this).
Denys Vlasenko (5):
x86/asm/entry/64: move retint_kernel code block closer to its user
x86/asm/entry/64: simplify retint_kernel label usage, make
retint_restore_args label local
x86/asm/entry/64: remove redundant DISABLE_INTERRUPTS
x86/asm/entry/64: do not GET_THREAD_INFO() too early
x86/asm/entry/64: drop exit_intr label
arch/x86/kernel/entry_64.S | 40 +++++++++++++++++-----------------------
1 file changed, 17 insertions(+), 23 deletions(-)
---
CC: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Steven Rostedt <rostedt@...dmis.org>
CC: Ingo Molnar <mingo@...nel.org>
CC: Borislav Petkov <bp@...en8.de>
CC: "H. Peter Anvin" <hpa@...or.com>
CC: Andy Lutomirski <luto@...capital.net>
CC: Oleg Nesterov <oleg@...hat.com>
CC: Frederic Weisbecker <fweisbec@...il.com>
CC: Alexei Starovoitov <ast@...mgrid.com>
CC: Will Drewry <wad@...omium.org>
CC: Kees Cook <keescook@...omium.org>
CC: x86@...nel.org
CC: linux-kernel@...r.kernel.org
--
1.8.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists