Re: [PATCH] Speed up interrupt entry

2000-11-22 Thread Andi Kleen
On Wed, Nov 22, 2000 at 11:24:16PM +0100, Kurt Garloff wrote: > On Sat, Nov 18, 2000 at 11:20:09AM +0100, Andi Kleen wrote: > > Index: include/asm-i386/hw_irq.h > > === > > RCS file: /cvs/linux/include/asm-i386/hw_irq.h,v > > retrievi

Re: [PATCH] Speed up interrupt entry

2000-11-22 Thread Kurt Garloff
On Sat, Nov 18, 2000 at 11:20:09AM +0100, Andi Kleen wrote: > Index: include/asm-i386/hw_irq.h > === > RCS file: /cvs/linux/include/asm-i386/hw_irq.h,v > retrieving revision 1.11 > diff -u -u -r1.11 hw_irq.h > --- include/asm-i386/hw_

[PATCH] Speed up interrupt entry

2000-11-18 Thread Andi Kleen
Hi Linus, It turns out that segment register reloading is rather expensive on modern CPUs -- it needs several locked cycles to access the segment table which are especially expensive on SMP. This patch against 2.4.0test11-pre5 tries to avoid the segment register reload for interrupts if possibl