Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2018 14:40:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229106] intr_event_handle is unsafe with respect to interrupt handler list
Message-ID:  <bug-229106-227-cshIUowVfe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229106-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229106-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #2 from Andriy Gapon <avg@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229106-227-cshIUowVfe>