diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-04-26 13:07:18 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-19 16:47:48 +0300 |
commit | d63e79b114c0208bc2b7712c879568e180909d60 (patch) | |
tree | c680913d78d7c55d29c5e955f15055d8c25cacb5 /arch/x86/math-emu/fpu_entry.c | |
parent | e229537543fba3de4026cb6e12b75946d9f3430f (diff) | |
download | linux-d63e79b114c0208bc2b7712c879568e180909d60.tar.xz |
x86/fpu: Uninline kernel_fpu_begin()/end()
Both inline functions call an inline function unconditionally, so we
already pay the function call based clobbering cost. Uninline them.
This saves quite a bit of code in various performance sensitive
code paths:
text data bss dec hex filename
13321334 2569888 1634304 17525526 10b6b16 vmlinux.before
13320246 2569888 1634304 17524438 10b66d6 vmlinux.after
Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/math-emu/fpu_entry.c')
0 files changed, 0 insertions, 0 deletions