WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] do_domctl and EAGAIN

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] do_domctl and EAGAIN
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 07 Apr 2009 09:53:15 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 07 Apr 2009 01:53:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49DB0C88.50403@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acm3WY34X/8HwAZoTq20VXOSF11y5QABLvaS
Thread-topic: [Xen-devel] do_domctl and EAGAIN
User-agent: Microsoft-Entourage/12.15.0.081119
On 07/04/2009 09:19, "Juergen Gross" <juergen.gross@xxxxxxxxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>