[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 14:40:36 UTC 2018


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

--- Comment #2 from Andriy Gapon <avg at FreeBSD.org> ---
Yes, it's an old one.
I think that using a spinlock is perfectly fine.
I also have a work-in-progress that tries to solve the problem with some atomic
magic so that intr_event_handle is completely wait / spin free (if the
interrupt thread does not need to run, of course).  I guess that a difference
between those two approaches would be negligible.

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


More information about the freebsd-bugs mailing list