[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] x86: compact supposedly unused entry point code
No point in aligning entry points which aren't supposed to be used anyway. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- TBD: Might consider simply using "andq $-15,%rsp", delivering an uninitialized error code (which shouldn't matter). --- a/xen/arch/x86/x86_64/entry.S +++ b/xen/arch/x86/x86_64/entry.S @@ -866,11 +866,11 @@ autogen_stubs: /* Automatically generate vec = 0 .rept NR_VECTORS - ALIGN /* Common interrupts, heading towards do_IRQ(). */ .if vec >= FIRST_DYNAMIC_VECTOR && vec != HYPERCALL_VECTOR && vec != LEGACY_SYSCALL_VECTOR + ALIGN 1: pushq $0 movb $vec,4(%rsp) jmp common_interrupt Attachment:
x86-compact-unknown-entry-points.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |