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

Re: [Xen-devel] [PATCH] x86/mm: Make sure the event channel is released accurately

On Fri, Feb 17, hongkaixing@xxxxxxxxxx wrote:

>     In xenpaging source code,there is an interdomain communication between 
> dom0
> and domU. In mem_event_enable(),the function alloc_unbound_xen_event_channel()
> allocates a free port for domU, and then it will be bound with dom0.
> When xenpaging tears down,it just frees dom0's event channel port by
> xc_evtchn_unbind(), leaves domU's port still occupied.
>     So we add the patch to free domU's port when xenpaging exits.
> We need double free interdomain eventchannel. First free domainU port,
> and leave domain 0 port unbond, Then free domain 0 port.
> Signed-off-by??Kaixing Hong <hongkaixing@xxxxxxxxxx>,
> Signed-off-by??Zhen Shi <bicky.shi@xxxxxxxxxx>

Acked-by: Olaf Hering <olaf@xxxxxxxxx>

Xen-devel mailing list



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