From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHYDe-0001pg-Pr for qemu-devel@nongnu.org; Tue, 21 Jul 2015 10:08:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHYDa-0006JH-P8 for qemu-devel@nongnu.org; Tue, 21 Jul 2015 10:08:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHYDa-0006J1-L2 for qemu-devel@nongnu.org; Tue, 21 Jul 2015 10:08:26 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id E1D512B7876 for ; Tue, 21 Jul 2015 14:08:25 +0000 (UTC) From: Paolo Bonzini Date: Tue, 21 Jul 2015 16:07:47 +0200 Message-Id: <1437487673-23740-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v4 0/6] AioContext: ctx->dispatching is dead, all hail ctx->notify_me List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, lersek@redhat.com, rjones@redhat.com, stefanha@redhat.com This puts together all pending fixes in a single series. Paolo v1->v2 Split some changes to the tests to a separate patch Fix commit message [Laszlo] Clarify do...while loop in aio-win32.c [Kevin] v2->v3 Decrement notify_me a little earlier in aio-posix.c. v3->v4 Include 'qemu-timer: initialize "timers_done_ev" to set' [Peter] Include fix and optimization for broken event_notifier_test_and_clear Paolo Bonzini (6): qemu-timer: initialize "timers_done_ev" to set tests: remove irrelevant assertions from test-aio aio-win32: reorganize polling loop AioContext: fix broken ctx->dispatching optimization AioContext: fix broken placement of event_notifier_test_and_clear AioContext: optimize clearing the EventNotifier aio-posix.c | 20 +++--- aio-win32.c | 48 +++++++------ async.c | 35 ++++++---- docs/aio_notify.promela | 77 +++++++++------------ docs/aio_notify_accept.promela | 152 +++++++++++++++++++++++++++++++++++++++++ docs/aio_notify_bug.promela | 140 +++++++++++++++++++++++++++++++++++++ include/block/aio.h | 61 +++++++++++++++-- qemu-timer.c | 2 +- tests/test-aio.c | 26 ++----- 9 files changed, 441 insertions(+), 120 deletions(-) create mode 100644 docs/aio_notify_accept.promela create mode 100644 docs/aio_notify_bug.promela -- 2.4.3