mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chuck Ebbert <76306.1226@compuserve.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: [PATCH][2.5.68] 16-byte align x86 IRQ entry points
Date: Sun, 20 Apr 2003 13:03:03 -0400	[thread overview]
Message-ID: <200304201306_MC3-1-3537-116@compuserve.com> (raw)


 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

                 reply	other threads:[~2003-04-20 16:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200304201306_MC3-1-3537-116@compuserve.com \
    --to=76306.1226@compuserve.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®