Hi, I can't comment on the code itself, but there's
> The > taskq > API provides a mechanism to defer work to a process context. > .Pp > +The > +taskctx > +API provides a mechanism to serialise work in a single context. > +A taskctx guarantees that all work submitted to it will not run > +concurrently and can therefore provide exclusive access to a resource. > +It attempts to run the submitted work immediately, unless another > +another CPU is already running work in the taskctx. ^^^^^^^ one "another" too many.