From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] qemu-kvm: Switch POSIX compat AIO implementation to upstream Date: Mon, 26 Sep 2011 20:24:47 +0300 Message-ID: <4E80B55F.5020203@redhat.com> References: <4E78C42D.5030207@siemens.com> <20110921080600.GA9847@stefanha-thinkpad.localdomain> <4E80B50B.9000301@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Stefan Hajnoczi , Marcelo Tosatti , kvm , Anthony Liguori , Kevin Wolf To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:4360 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751876Ab1IZRYy (ORCPT ); Mon, 26 Sep 2011 13:24:54 -0400 In-Reply-To: <4E80B50B.9000301@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On 09/26/2011 08:23 PM, Jan Kiszka wrote: > > > > Perhaps qemu_eventfd() can be used in the future instead of an explicit > > pipe. Then Linux will do eventfd while other OSes will fall back to > > pipes. > > Basically simpler code, or does this also have runtime benefits? > In corner cases, the completion can block on the write() with pipes, but not eventfd. -- error compiling committee.c: too many arguments to function