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] [PATCH 0/2] Add reference counting to grant notify ioctls

To: konrad.wilk@xxxxxxxxxx
Subject: [Xen-devel] [PATCH 0/2] Add reference counting to grant notify ioctls
From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
Date: Fri, 16 Sep 2011 17:14:42 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Ian.Jackson@xxxxxxxxxxxxx
Delivery-date: Fri, 16 Sep 2011 14:16:39 -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
The current notify ioctls assume that an event channel will not be
closed prior to the page being unmapped. If the mappings are associated
with an open file descriptor and the application crashes, the
notification behavior depends on the close ordering of the file
descriptors. To avoid this, event channels now have a reference count
that is used by the grant notify ioctls to postpone the close operation
until the notification is fired.

[PATCH 1/2] xen/event: Add reference counting to event channel
[PATCH 2/2] xen/gnt{dev,alloc}: reserve event channels for notify

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