From: Keir Fraser Subject: Re: do_domctl and EAGAIN Date: Tue, 07 Apr 2009 09:49:00 +0100 Message-ID: References: <49DB1077.5070601@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49DB1077.5070601@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:36, "Juergen Gross" wrote: > XEN_SYSCTL_pm_op (this one is tested by caller) Yes, and indeed has to be checked by the caller, rather than hidden, since it's an odd EAGAIN-with-side-effects. > xenstore calls (tested by caller) Not really hypercalls as such. > mmuext_op (NOT always checked by caller) Nah, that doesn't return EINTR. EAGAIN/EINTR is used a lot in Xen's mm.c, but shouldn't leak into hypercall return values. That'd be a non-backward-compatible bug. -- Keir