From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44515 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P63Ia-0007U4-K9 for qemu-devel@nongnu.org; Wed, 13 Oct 2010 11:31:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P63IZ-0003mI-II for qemu-devel@nongnu.org; Wed, 13 Oct 2010 11:31:24 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:33624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P63IZ-0003hH-1V for qemu-devel@nongnu.org; Wed, 13 Oct 2010 11:31:23 -0400 Received: from d23relay03.au.ibm.com (d23relay03.au.ibm.com [202.81.31.245]) by e23smtp01.au.ibm.com (8.14.4/8.13.1) with ESMTP id o9DFS0N7026690 for ; Thu, 14 Oct 2010 02:28:00 +1100 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay03.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o9DFV4G42928880 for ; Thu, 14 Oct 2010 02:31:04 +1100 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o9DFV4b4029705 for ; Thu, 14 Oct 2010 02:31:04 +1100 Received: from localhost6.localdomain6 ([9.77.201.21]) by d23av02.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o9DFUxtV029213 for ; Thu, 14 Oct 2010 02:31:02 +1100 From: Arun R Bharadwaj Date: Wed, 13 Oct 2010 21:00:56 +0530 Message-ID: <20101013152921.21735.87339.stgit@localhost6.localdomain6> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] v5 [PATCH 0/3] qemu: 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 v5 of the patch-series to have a generic asynchronous task offloading framework (called threadlets) within qemu. V4 can be found here: http://www.mail-archive.com/qemu-devel@nongnu.org/msg36157.html Change from v4: * The earlier code was hitting a null pointer dereference error at cpu_exit() with IO thread disabled. This version adds a signal handler for SIGUSR2 to call qemu_service_io() which calls cpu_exit() The following series implements... --- Aneesh Kumar K.V (1): Introduce threadlets Gautham R Shenoy (2): Make paio subsystem use threadlets Add helper functions for virtio-9p to use threadlets Makefile.objs | 3 - docs/async-support.txt | 141 +++++++++++++++++++++++++++++++++++ hw/virtio-9p.c | 165 ++++++++++++++++++++++++++++++++++++++++- posix-aio-compat.c | 195 ++++++++++-------------------------------------- qemu-threadlets.c | 190 +++++++++++++++++++++++++++++++++++++++++++++++ qemu-threadlets.h | 49 ++++++++++++ vl.c | 3 + 7 files changed, 588 insertions(+), 158 deletions(-) create mode 100644 docs/async-support.txt create mode 100644 qemu-threadlets.c create mode 100644 qemu-threadlets.h -- arun