From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36901 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ8sh-0004ks-8n for qemu-devel@nongnu.org; Thu, 18 Nov 2010 13:06:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJ8se-0003hm-8y for qemu-devel@nongnu.org; Thu, 18 Nov 2010 13:06:46 -0500 Received: from e23smtp04.au.ibm.com ([202.81.31.146]:36635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJ8sd-0003hR-Nx for qemu-devel@nongnu.org; Thu, 18 Nov 2010 13:06:44 -0500 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [202.81.31.246]) by e23smtp04.au.ibm.com (8.14.4/8.13.1) with ESMTP id oAII1ioZ006156 for ; Fri, 19 Nov 2010 05:01:44 +1100 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oAII6giI1974524 for ; Fri, 19 Nov 2010 05:06:42 +1100 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oAII6gMi001142 for ; Fri, 19 Nov 2010 05:06:42 +1100 From: Arun R Bharadwaj Date: Thu, 18 Nov 2010 23:36:39 +0530 Message-ID: <20101118180547.4434.95904.stgit@localhost6.localdomain6> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/6] v12: 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 Cc: kwolf@redhat.com Hi, This is the v12 of the refactored patch-series to have a generic asynchronous task offloading framework (called threadlets) within qemu. I have run KVM autotest suite with this patch. This test suite ran successfully for the following tests: -connecthon -ebizzy -dbench -fsstress -disktest -cpu_hotplug -hackbench -sleeptest Changelog: * Refactored the code in the following manner as asked by Anthony: * Earlier Patch1 has been broken down into 4 patches: 1) Make the necessary confiugation and Makefile changes. 2) Move paio_cancel to new infrastructure and introduce only those APIs needed for this. 3) Move paio_submit to new infrastructure and introduce only those APIs needed for this. 4) Clean up posix-aio.compat.c off all the old code. The following series implements... --- Arun R Bharadwaj (5): Make the necessary changes in Makefile and configure file. Move paio_cancel() to new infrastructure. Move qemu_paio_submit() to the new infrastructure. Cleanup posix-aio.compat.c off all the old code. Move threadlets infrastructure to qemu-threadlets.c Gautham R Shenoy (1): Add helper functions to enable virtio-9p make use of the threadlets Makefile.objs | 3 - configure | 2 docs/async-support.txt | 141 ++++++++++++++++++++++++++++++ hw/virtio-9p.c | 164 +++++++++++++++++++++++++++++++++++ posix-aio-compat.c | 225 +++++++++++------------------------------------- qemu-threadlets.c | 189 ++++++++++++++++++++++++++++++++++++++++ qemu-threadlets.h | 47 ++++++++++ vl.c | 3 + 8 files changed, 596 insertions(+), 178 deletions(-) create mode 100644 docs/async-support.txt create mode 100644 qemu-threadlets.c create mode 100644 qemu-threadlets.h -- arun