mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][2.5.68] 16-byte align x86 IRQ entry points
@ 2003-04-20 17:03 Chuck Ebbert
  0 siblings, 0 replies; only message in thread
From: Chuck Ebbert @ 2003-04-20 17:03 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox


 How can I further test this patch?  (It boots...)

 It should be harmless; at worst it will add about 1K to an
SMP or IOAPIC kernel.

 If it works it should reduce interrupt latency.



--- a/arch/i386/kernel/entry.S
+++ b/arch/i386/kernel/entry.S
@ -382,29 +382,31 @
 ENTRY(interrupt)
 .text
 
-vector=0
+	.align 16,0x90
 ENTRY(irq_entries_start)
+vector=0
 .rept NR_IRQS
-	ALIGN
 1:	pushl $vector-256
 	jmp common_interrupt
+	.align 16,0x90
 .data
 	.long 1b
 .text
 vector=vector+1
 .endr
 
-	ALIGN
+/* aligned 16 */
 common_interrupt:
 	SAVE_ALL
 	call do_IRQ
 	jmp ret_from_intr
 
 #define BUILD_INTERRUPT(name, nr)	\
+	.align 16,0x90;			\
 ENTRY(name)				\
 	pushl $nr-256;			\
 	SAVE_ALL			\
-	call smp_/**/name;	\
+	call smp_/**/name;		\
 	jmp ret_from_intr;
 
 /* The include is where all of the SMP etc. interrupts come from */


------
 Chuck

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-20 16:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-20 17:03 [PATCH][2.5.68] 16-byte align x86 IRQ entry points Chuck Ebbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®