[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] free_xen_event_channel() forgets to free the channel or it is obsolete?
Thanks a lot for the explanation! I was confused by the name free. Lin On Jan 27, 2008, at 3:45 AM, Keir Fraser wrote: It is called free_xen_event_channel() as the symmetric opposite ofalloc_unbound_xen_event_channel(). Since the latter does no xmalloc (), itmakes sense the former would do no xfree(). -- Keir On 27/1/08 02:48, "Tan, Lin" <lintan2@xxxxxxxx> wrote: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 thechannel.Or free_xen_event_channel() is not used at all and should be removed, asevtchn_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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |