at 11:24 PM, Stefan Hajnoczi <stefa...@gmail.com> wrote: > Can the logic be moved into assert()/deassert() so callers don't need > to duplicate the checks? > > (I assume the optimization is that eventfd syscalls are avoided, not > that the function call is avoided.)
I guess I can move the eventfd syscall into assert()/deassert().