OSDN Git Service

x86-64: Reduce amount of redundant code generated for invalidate_interruptNN
authorJan Beulich <JBeulich@suse.com>
Tue, 29 Nov 2011 11:03:46 +0000 (11:03 +0000)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Dec 2011 16:24:39 +0000 (17:24 +0100)
commit39e9543344fa3179e346d2b381c6e0cd17b516de
tree885218a6367df3a73aa0b7c6926de52d98a6addc
parent70ea6855d368588a7f1b0242ab83ca6fe2e2ff16
x86-64: Reduce amount of redundant code generated for invalidate_interruptNN

Previously these up to 32 entry points, consisting of all the
same code except for their very first instruction, consumed 0x70
bytes per instance. Just like for device interrupt entry points,
fold them together so that they all use a single instance of the
code after having pushed their vector indicator (resulting in
0x10 bytes per instance, to retain 16-byte alignment of the
individual entry points).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/4ED4CA230200007800064065@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_64.S