On 16/11/2016 18:47, Stefan Hajnoczi wrote: > + if (max_ns && run_poll_handlers(ctx, max_ns)) { > + atomic_sub(&ctx->notify_me, 2); > + blocking = false; /* poll again, don't block */
You don't need to poll---you only need to run bottom halves and timers. Paolo > + progress = true; > + } > + }