From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46389 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8tyz-0001yT-Rh for qemu-devel@nongnu.org; Thu, 21 Oct 2010 08:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8tyq-0004De-FP for qemu-devel@nongnu.org; Thu, 21 Oct 2010 08:10:57 -0400 Received: from e28smtp05.in.ibm.com ([122.248.162.5]:36230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8typ-0004B3-Oi for qemu-devel@nongnu.org; Thu, 21 Oct 2010 08:10:48 -0400 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by e28smtp05.in.ibm.com (8.14.4/8.13.1) with ESMTP id o9LCAfch010461 for ; Thu, 21 Oct 2010 17:40:41 +0530 Received: from d28av04.in.ibm.com (d28av04.in.ibm.com [9.184.220.66]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o9LCAf6Q4403258 for ; Thu, 21 Oct 2010 17:40:41 +0530 Received: from d28av04.in.ibm.com (loopback [127.0.0.1]) by d28av04.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o9LCAexJ003789 for ; Thu, 21 Oct 2010 23:10:40 +1100 Received: from localhost6.localdomain6 (Crystal-Planet.in.ibm.com [9.124.35.84]) by d28av04.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o9LCAeQX003786 for ; Thu, 21 Oct 2010 23:10:40 +1100 From: Arun R Bharadwaj Date: Thu, 21 Oct 2010 17:40:40 +0530 Message-ID: <20101021120911.25166.11204.stgit@localhost6.localdomain6> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/3]: v7: Threadlets: A generic task offloading framework. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, This is the v7 of the patch-series to have a generic asynchronous task offloading framework (called threadlets) within qemu. Request to consider pulling this series as discussed during the Qemu-devel call. V6 can be found here: http://www.mail-archive.com/qemu-devel@nongnu.org/msg44344.html Changes from v6: * Chaged name cancel_threadletwork to deque_threadletwork to avoid possible confusion (suggested by Balbir). * Fixed the logic in deque_threadletwork_on_queue. * Modified submit_threadletwork_to_queue() to avoid spurious cond_signal. * Removed the unnecessary check for acb->active in paio_cancel() --- Aneesh Kumar K.V (1): Introduce threadlets Gautham R Shenoy (2): Make paio subsystem use threadlets Add helper functions to enable virtio-9p make use of the threadlets Makefile.objs | 3 - docs/async-support.txt | 141 ++++++++++++++++++++++++++++++++++ hw/virtio-9p.c | 168 ++++++++++++++++++++++++++++++++++++++++ posix-aio-compat.c | 200 ++++++++++-------------------------------------- qemu-threadlets.c | 188 +++++++++++++++++++++++++++++++++++++++++++++ qemu-threadlets.h | 49 ++++++++++++ vl.c | 3 + 7 files changed, 593 insertions(+), 159 deletions(-) create mode 100644 docs/async-support.txt create mode 100644 qemu-threadlets.c create mode 100644 qemu-threadlets.h -- arun