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] evtchn_do_upcall: Fix logic to start correctly a

To: Kaushik Kumar Ram <kaushik@xxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] evtchn_do_upcall: Fix logic to start correctly at "last processed port + 1"
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 29 Jan 2010 09:33:01 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 29 Jan 2010 01:33:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <875699A9-9F9E-4183-BAC7-6EDE628B3BD7@xxxxxxxx>
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: AcqgwgGXHS65Bt/QTBSkzZFTpHQdfAABAsUP
Thread-topic: [Xen-devel] [PATCH] evtchn_do_upcall: Fix logic to start correctly at "last processed port + 1"
User-agent: Microsoft-Entourage/12.23.0.091001
Sorry, it is there now:
 http://xenbits.xensource.com/linux-2.6.18-xen.hg

 K.

On 29/01/2010 09:04, "Kaushik Kumar Ram" <kaushik@xxxxxxxx> wrote:

> I don't see changeset linux-2.6.18-xen:988. I agree pre-incrementing is
> better. I am fine as long as the code is fixed.
> 
> -Kaushik
> 
> On Jan 29, 2010, at 2:43 AM, Keir Fraser wrote:
> 
>> On 29/01/2010 05:34, "Kaushik Kumar Ram" <kaushik@xxxxxxxx> wrote:
>> 
>>> # HG changeset patch
>>> # User kaushik
>>> # Date 1264742860 21600
>>> # Node ID de3e05e5eec28aa332ae1aa35a2edf97ded769f5
>>> # Parent  91224343eeee460c9aafdaadc1bdedab54e92256
>>> Fix the logic to start correctly at "last processed port + 1" in
>>> evtchn_do_upcall.
>>> 
>>> Signed-off-by: Kaushik Kumar Ram <kaushik@xxxxxxxx>
>> 
>> Take a look at linux-2.6.18-xen:988, which is a (significant)
>> reinterpretation of your patch. I think some confusion and bugs arise from
>> pre-incrementing the loop indexes, so I changed back to post-incrementing as
>> we used to do. I think the code is a fair bit clearer. Hopefully it also
>> works just as well!
>> 
>> Thanks,
>> Keir
>> 
>> 
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>> 
> 



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