preemptive kernel

Andriy Gapon avg at FreeBSD.org
Mon May 27 07:11:05 UTC 2013


on 27/05/2013 09:34 Konstantin Belousov said the following:
> Having both filter and ithread for the same interrupt is apparently
> possible but weird.  I do not see anything which would prevent interrupt
> filter from being executed while the ithread is running.  But again, this
> is very unusual setup.

I wouldn't call it weird, but, yes, it is rare.  It's a pretty normal
configuration when the filter acts as a filter and the handler acts as a
handler (in ithread).  In other words, it would be a replacement for a
configuration where a filter is used and the filter offloads actual work to
non-interrupt context via a e.g. taskqueue.
But, hmm, this functionality is probably locked under INTR_FILTER option.

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list