[Bug 229106] intr_event_handle is unsafe with respect to interrupt handler list

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 18 19:46:15 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229106

--- Comment #8 from Andriy Gapon <avg at FreeBSD.org> ---
(In reply to Conrad Meyer from comment #7)
I don't know epoch(9) / ck_epoch implementation details, but given the
constraints[*] of interrupt handling, I think that it could be an overkill.  I
mean, it probably has some overhead that's avoidable.  And for that latency
sensitive code it could matter.

[*] The interrupt handler list can be iterated only by a single thread /
context at a time.  Also, we reduce modifications to a single thread at a time
using a mutex.  Performance of adding and removing interrupt handlers is not
critical.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list