local APIC 2 interrupt fifo limit

Ravi Murty ravi.murty at gmail.com
Thu Dec 4 16:45:54 PST 2008


Hello,

There is this comment in apicvar.h in the amd64 tree that talks about why
the kernel uses smp_ipi_mtx and how it prevents more than 2 outstanding IPIs
per interrupt vector. It appears that modern CPUs collapse the IRR bit if
there is an interrupt when both the IRR and ISR bits are set. I was
wondering why we need smp_ipi_mtx besides the fact that the kernel uses
global variables for things like invalidate page ranges.

Thanks,
Ravi


More information about the freebsd-hackers mailing list