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] free_xen_event_channel() forgets to free the channel or it i

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] free_xen_event_channel() forgets to free the channel or it is obsolete?
From: "Tan, Lin" <lintan2@xxxxxxxx>
Date: Fri, 25 Jan 2008 12:11:57 -0600
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Mon, 28 Jan 2008 02:34:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AchffcYE4ZnH2BK7QxqrWVIZipgsWQ==
Thread-topic: [Xen-devel] free_xen_event_channel() forgets to free the channel or it is obsolete?
Hi,

Should free_xen_event_channel() actually free the event_channel, by calling 
free_xen_event_channel() and then xfree()? Right now, it only closes the
channel.

Or free_xen_event_channel() is not used at all and should be removed, as 
evtchn_destroy() does the same job?

It is in file common/event_channel.c.

Thanks,
Lin

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