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

[Xen-devel] free_xen_event_channel() forgets to free the channel or it is obsolete?


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Tan, Lin" <lintan2@xxxxxxxx>
  • Date: Fri, 25 Jan 2008 19:57:53 -0600
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc: Lin Tan <lintan2@xxxxxxxxxxx>
  • Delivery-date: Mon, 28 Jan 2008 02:35:32 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AchffcYE4ZnH2BK7QxqrWVIZipgsWQAQQJdw
  • 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


 


Rackspace

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