Allow faster eventhandler dispatching by keeping pointers to handler lists.

Hans Petter Selasky hps at selasky.org
Mon Oct 30 08:20:10 UTC 2017


On 10/29/17 18:03, Ian Lepore wrote:
> Oh.  Right.  Hmmm, I think malloc() is required to support the case
> where a handler registers before the static list init is invoked, and I
> do think that's a useful feature to preserve.  That means the lists
> aren't really static, though, which then makes STATIC a bit out of
> place in the new function/macro names.

Why not use RCU here, and then update sys/queue.h to be RCU safe?

--HPS


More information about the freebsd-arch mailing list