1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sys/i386/isa
Scott Long 5ba0615c03 Optimize intr_execute_handlers() by combining the pic_disable_source() and
pic_eoi_source() into one call.  This halves the number of spinlock operations
and indirect function calls in the normal case of handling a normal (ithread)
interrupt.  Optimize the atpic and ioapic drivers to use inlines where
appropriate in supporting the intr_execute_handlers() change.

This knocks 900ns, or roughly 1350 cycles, off of the time spent servicing an
interrupt in the common case on my 1.5GHz P4 uniprocessor system.  SMP systems
likely won't see as much of a gain due to the ioapic being more efficient than
the atpic.  I'll investigate porting this to amd64 soon.

Reviewed by:	jhb
2004-08-02 15:31:10 +00:00
..
ic
pcvt Preparation commit for the tty cleanups that will follow in the near 2004-07-15 20:47:41 +00:00
atpic_vector.s
atpic.c Optimize intr_execute_handlers() by combining the pic_disable_source() and 2004-08-02 15:31:10 +00:00
ccbque.h
clock.c Partially revert previous commit. Calling getit() unconditionally fixed 2004-07-11 17:50:59 +00:00
elcr.c
elink.c
elink.h
icu.h
if_el.c
if_elreg.h
isa_dma.c Something funny happened on the way to the floppy driver today... 2004-07-05 20:37:42 +00:00
isa_dma.h
isa.c Don't define __RMAN_RESOURCE_VISISBLE. They aren't needed here after 2004-07-03 20:11:49 +00:00
isa.h Remove now obsolete port assignments and sizes. These more properly 2004-07-05 18:39:30 +00:00
lptreg.h
mse.c
nmi.c
npx.c
pcf.c
pmtimer.c
prof_machdep.c
spic.c
spicreg.h
spkr.c
timerreg.h
vesa.c Do a pass over all modules in the kernel and make them return EOPNOTSUPP 2004-07-15 08:26:07 +00:00