jhb 2008-01-19 15:38:13 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/amd64/amd64 intr_machdep.c
sys/i386/i386 intr_machdep.c
Log:
MFC: Split the intr_table_lock into an sx lock used for most things, and a
spin lock to protect intrcnt_index. Originally I had this as a spin lock
so interrupt code could use it to lookup sources. However, we don't
actually do that because it would add a lot of overhead to interrupts,
and if we ever do support removing interrupt sources, we can use other
means to safely do so w/o locking in the interrupt handling code.
This fixes a LOR in the most recent MSI MFC and was a part of the original
commit to HEAD that included the changes in the most recent MSI MFC.
Revision Changes Path
1.15.2.6 +24 -21 src/sys/amd64/amd64/intr_machdep.c
1.14.2.6 +24 -21 src/sys/i386/i386/intr_machdep.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"