Re: [PATCH 0/3] aio-posix: keep aio_notify_me disabled during polling

2020-08-04 Thread Paolo Bonzini
On 04/08/20 07:28, Stefan Hajnoczi wrote: > This patch series eliminates ctx->notifier EventNotifier activity when > aio_poll() is in polling mode. There is no need to use the EventNotifier since > a polling handler can detect that aio_notify() has been called by monitoring a > field in memory inst

[PATCH 0/3] aio-posix: keep aio_notify_me disabled during polling

2020-08-03 Thread Stefan Hajnoczi
This patch series eliminates ctx->notifier EventNotifier activity when aio_poll() is in polling mode. There is no need to use the EventNotifier since a polling handler can detect that aio_notify() has been called by monitoring a field in memory instead. Optimizing out the EventNotifier calls impro