[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] linux: simplify and perform checking of multicall status


  • To: Jan Beulich <jbeulich@xxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Thu, 05 Apr 2007 10:15:23 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 05 Apr 2007 02:14:24 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acd3YvCSLtoP2+NWEduTxgAX8io7RQ==
  • Thread-topic: [Xen-devel] [PATCH] linux: simplify and perform checking of multicall status



On 5/4/07 10:00, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

> Huh, indeed. And perhaps it should (give the rest of the function) even
> be
> 
> if (unlikely(rc < 0))
> return rc;
> BUG_ON(rc);
> 
> (i.e. so that positive return values indicate the failed slot, negative ones
> indicate a failure of the multicall itself).

Makes sense. I'll merge that in.

 -- Keir


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.