Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2018 19:46:12 +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-RKv6un5sN5@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=3D229106

--- Comment #8 from Andriy Gapon <avg@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 t=
ime
using a mutex.  Performance of adding and removing interrupt handlers is not
critical.

--=20
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-RKv6un5sN5>