From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoB1Y-0006Vc-Uz for qemu-devel@nongnu.org; Sun, 16 Jun 2013 07:21:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UoB1Y-0006rT-4H for qemu-devel@nongnu.org; Sun, 16 Jun 2013 07:21:32 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:62435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UoB1X-0006rJ-U5 for qemu-devel@nongnu.org; Sun, 16 Jun 2013 07:21:32 -0400 Received: by mail-pd0-f170.google.com with SMTP id x11so1894467pdj.1 for ; Sun, 16 Jun 2013 04:21:31 -0700 (PDT) From: Liu Ping Fan Date: Sun, 16 Jun 2013 19:21:19 +0800 Message-Id: <1371381681-14252-1-git-send-email-pingfanl@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/2] make AioContext's bh re-entrant List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Anthony Liguori When trying out of QBL, we badly require more fine defined barrier and atomic ops, so I repost Paolo's atomic patch which fetched github.com/bonzini/qemu.git rcu (thanks Paolo, with your urcu patches, things go more easily) v1->v2: more fine document introduce another wmb for qemu_bh_schedule and correspoing rmb Liu Ping Fan (1): QEMUBH: make AioContext's bh re-entrant Paolo Bonzini (1): add a header file for atomic operations async.c | 21 ++++ docs/atomics.txt | 322 +++++++++++++++++++++++++++++++++++++++++++++++ hw/display/qxl.c | 3 +- hw/virtio/vhost.c | 9 +- include/block/aio.h | 3 + include/qemu/atomic.h | 223 +++++++++++++++++++++++++++----- migration.c | 3 +- tests/test-thread-pool.c | 8 +- 8 files changed, 548 insertions(+), 44 deletions(-) create mode 100644 docs/atomics.txt -- 1.8.1.4