[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?



It is called free_xen_event_channel() as the symmetric opposite of
alloc_unbound_xen_event_channel(). Since the latter does no xmalloc(), it
makes 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 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



_______________________________________________
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®.