Date: Sat, 19 Jan 2008 15:38:13 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 intr_machdep.c src/sys/i386/i386 intr_machdep.c Message-ID: <200801191538.m0JFcDOA048401@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801191538.m0JFcDOA048401>