From: John Levon Subject: Re: [PATCH] xc_evtchn_*() interfaces Date: Wed, 14 Jun 2006 20:44:45 +0100 Message-ID: <20060614194445.GA13059@totally.trollied.org> References: <20060614174721.GA9810@totally.trollied.org> <904d81044bc745f5b2d1ac4ea24a8319@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <904d81044bc745f5b2d1ac4ea24a8319@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Jun 14, 2006 at 08:06:18PM +0100, Keir Fraser wrote: > >No longer open the device as non-blocking: all reads immediately follow > >a select() on the device indicating it's ready to read. > > Why change this? Because not all users specified O_NONBLOCK, so to keep the exact same code would mean complicating the API a little bit. As there is no extant code that actually takes advantage of O_NONBLOCK, it's pointless having the extra code (note that xenstore would actually die if it ever got EAGAIN...) regards john