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

[Xen-devel] On netfront accelerator add/remove watches

To: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] On netfront accelerator add/remove watches
From: BVK Chaitanya <bayapuneni_chaitanya@xxxxxxxxxxxx>
Date: Tue, 29 Jul 2008 09:02:09 +0530
Cc:
Delivery-date: Mon, 28 Jul 2008 20:28:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
User-agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)
Hi,


I see that netfront_accel_add_watch and netfront_accel_remove_watch functions are _not_ protected by accelerator_mutex in accel.c Is there any specific reason for this?

I see that they sometimes get called twice (and result in BUG_ON) in very fast (20ms) domain suspend-resume cycles and I couldn't figure out how it is possible :-(


--
bvk-chaitanya

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

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