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] [PATCH] linux: simplify and perform checking of multical

To: Jan Beulich <jbeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] linux: simplify and perform checking of multicall status
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 05 Apr 2007 09:29:38 +0100
Delivery-date: Thu, 05 Apr 2007 01:28:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4607FAD3.76E4.0078.0@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acd3XIxtyvJvGONPEduTxgAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] linux: simplify and perform checking of multicall status
User-agent: Microsoft-Entourage/11.2.5.060620
On 26/3/07 15:54, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

> +static inline int
> +HYPERVISOR_multicall_check(
> + multicall_entry_t *call_list, int nr_calls,
> + const unsigned long *rc_list)
> +{
> + int rc = HYPERVISOR_multicall(call_list, nr_calls);
> +
> + if (unlikely(rc == 0))
> +  return rc;

ITYM unlikely(rc != 0)?

 -- Keir


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

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