Date: Tue, 8 Jun 2010 17:08:13 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 io_apic.c src/sys/i386/i386 io_apic.c Message-ID: <201006081715.o58HFLpQ022776@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2010-06-08 17:08:13 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 io_apic.c
sys/i386/i386 io_apic.c
Log:
SVN rev 208915 on 2010-06-08 17:08:13Z by jhb
- Use a bit more care when moving I/O APIC interrupts between CPUs. Mask
the interrupt followed by a brief delay if it is not currently masked
before moving the interrupt.
- Move the icu_lock out of ioapic_program_intpin() and into callers. This
closes a race where ioapic_program_intpin() could use a stale value of
the masked state to compute the masked bit in the register.
Reviewed by: mav
MFC after: 2 weeks
Revision Changes Path
1.36 +22 -4 src/sys/amd64/amd64/io_apic.c
1.40 +22 -4 src/sys/i386/i386/io_apic.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006081715.o58HFLpQ022776>
