Date: Sat, 28 Oct 2017 20:19:27 -0600 From: Ian Lepore <ian@freebsd.org> To: "freebsd-arch@FreeBSD.org" <freebsd-arch@FreeBSD.org> Subject: Allow faster eventhandler dispatching by keeping pointers to handler lists. Message-ID: <1509243567.56824.103.camel@freebsd.org>
next in thread | raw e-mail | index | archive | help
There has been some talk lately of the kernel eventhandler mechanism being inefficient due to holding a lock while walking a global list doing strcmp() to find the right list of handlers. I've posted a phabricator review to alleviate that by allowing high-frequency events to pre-define the event list and keep a pointer to it, to avoid the name lookups. https://reviews.freebsd.org/D12821 -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1509243567.56824.103.camel>