cvs commit: src/sys/amd64/amd64 intr_machdep.c src/sys/i386/i386 intr_machdep.c

John Baldwin jhb at
Sat Jan 19 07:38:14 PST 2008

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 
  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  +24 -21    src/sys/amd64/amd64/intr_machdep.c  +24 -21    src/sys/i386/i386/intr_machdep.c

More information about the cvs-all mailing list