Date: Fri, 11 Dec 2009 03:08:07 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/puc puc.c Message-ID: <200912110308.nBB38KtR006532@repoman.freebsd.org>
index | next in thread | raw e-mail
marcel 2009-12-11 03:08:07 UTC
FreeBSD src repository
Modified files:
sys/dev/puc puc.c
Log:
SVN rev 200397 on 2009-12-11 03:08:07Z by marcel
Fix interrupt handling. It started off broken and grew worse over time.
The rewrite of the interrupt handler includes:
o loop until all pending interrupts are handled. This closes a
race condition.
o count the number of interrupt sources we handled so that we can
properly return FILTER_HANDLED or FILTER_STRAY when we break out
of the loop.
o When matching the interrupt source to the devices that have that
source pending, check only from the set of devices we found to
have a pending interrupt.
PR: kern/140947
MFC after: 3 days
Revision Changes Path
1.51 +62 -46 src/sys/dev/puc/puc.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912110308.nBB38KtR006532>
