From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58284 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGYT3-000051-TJ for qemu-devel@nongnu.org; Mon, 24 May 2010 10:17:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGYT2-0000GO-Dd for qemu-devel@nongnu.org; Mon, 24 May 2010 10:17:21 -0400 Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:60236 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGYT2-0000FS-2k for qemu-devel@nongnu.org; Mon, 24 May 2010 10:17:20 -0400 Date: Mon, 24 May 2010 18:16:54 +0400 (MSD) From: malc Subject: Re: [Qemu-devel] [RFC/ PATCH 1/4] qemu: Generic asynchronous threading framework to offload tasks In-Reply-To: <20100524125303.29646.8967.stgit@localhost.localdomain> Message-ID: References: <20100524125220.29646.62160.stgit@localhost.localdomain> <20100524125303.29646.8967.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gautham R Shenoy Cc: "Aneesh Kumar K.V" , Anthony Liguori , Qemu-development List , Avi Kivity On Mon, 24 May 2010, Gautham R Shenoy wrote: > From: Aneesh Kumar K.V > > This patch creates a generic asynchronous-task-offloading infrastructure. It's > extracted out of the threading framework that is being used by paio. > > The reason for extracting out this generic infrastructure of the > posix-aio-compat.c is so that other subsystems, such as virtio-9p could make use > of it for offloading tasks that could block. > > [ego@in.ibm.com: work_item_pool, async_work_init, async_work_release, > async_cancel_work] > > Signed-off-by: Aneesh Kumar K.V > Signed-off-by: Gautham R Shenoy This patch is rather inconsistent w.r.t. error checking. [..snip..] -- mailto:av1474@comtv.ru