From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56072 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZzQO-00012u-2k for qemu-devel@nongnu.org; Tue, 04 Jan 2011 00:27:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZzQN-0004X2-5F for qemu-devel@nongnu.org; Tue, 04 Jan 2011 00:27:11 -0500 Received: from e28smtp02.in.ibm.com ([122.248.162.2]:46296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZzQM-0004Ww-Ck for qemu-devel@nongnu.org; Tue, 04 Jan 2011 00:27:11 -0500 Received: from d28relay01.in.ibm.com (d28relay01.in.ibm.com [9.184.220.58]) by e28smtp02.in.ibm.com (8.14.4/8.13.1) with ESMTP id p045R5PZ024056 for ; Tue, 4 Jan 2011 10:57:05 +0530 Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay01.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p045R4p04227168 for ; Tue, 4 Jan 2011 10:57:05 +0530 Received: from d28av02.in.ibm.com (loopback [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p045R3bK024399 for ; Tue, 4 Jan 2011 16:27:03 +1100 From: Arun R Bharadwaj Date: Tue, 04 Jan 2011 10:57:03 +0530 Message-ID: <20110104052627.15887.43436.stgit@localhost6.localdomain6> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 00/13] Threadlets infrastructure. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com Hi, This patch series implements threadlets infrastructure in qemu. This is a complete rework of the earlier patch series so that it becomes easier to review. I have broken down the earlier patch series as asked by Anthony The following series implements... --- Arun R Bharadwaj (13): Add aiocb_mutex and aiocb_completion. Introduce work concept in posix-aio-compat.c Add callback function to ThreadletWork structure. Add ThreadletQueue. Threadlet: Add submit_work threadlet API. Threadlet: Add dequeue_work threadlet API Remove active field in qemu_aiocb structure. Remove thread_create routine. Threadlet: Add aio_signal_handler threadlet API Remove all instances of CONFIG_THREAD Move threadlet code to qemu-threadlets.c Threadlets: Add functionality to create private queues. Threadlets: Add documentation Makefile.objs | 3 - configure | 2 docs/async-support.txt | 141 +++++++++++++++++++++++++++++ posix-aio-compat.c | 237 ++++++++++++------------------------------------ qemu-threadlets.c | 184 +++++++++++++++++++++++++++++++++++++ qemu-threadlets.h | 47 ++++++++++ vl.c | 3 + 7 files changed, 437 insertions(+), 180 deletions(-) create mode 100644 docs/async-support.txt create mode 100644 qemu-threadlets.c create mode 100644 qemu-threadlets.h -- arun