From: Keir Fraser Subject: Re: do_domctl and EAGAIN Date: Tue, 07 Apr 2009 09:53:15 +0100 Message-ID: References: <49DB0C88.50403@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49DB0C88.50403@ts.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Gross Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 07/04/2009 09:19, "Juergen Gross" wrote: >> Our privcmd hypercall ioctl() is non-blocking and hence I don't think can >> return EINTR. In fact ioctl() is used in loads of places throughout our >> toolstack and in qemu, and I don't think EINTR is checked by any caller, nor >> is EINTR mentioned in the ioctl man page. > > In the non-blocking case this might be irrelevant. Are you sure this is no > issue in any case? Yes, our ioctls are all non-blocking (or at least, they don't interruptibly block -- they might block due to paging, memory allocations, and the like, but that's never visible to userspace). -- Keir