]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 208915,208991:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Jun 2010 13:17:45 +0000 (13:17 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 24 Jun 2010 13:17:45 +0000 (13:17 +0000)
commitc9708675d7c327e4ac4b20549c85f2d4c8022c3d
treeffff6460851bd41ce3ed0f03e10566a8ee957d87
parentdf797ef397c76c39eefdcfd05e91a8ab728b1008
MFC 208915,208991:
- 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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@209506 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/io_apic.c
sys/i386/i386/io_apic.c