Re: [PATCH v6 13/18] xen/pvcalls: implement release command

From: Juergen Gross
Date: Tue Jul 04 2017 - 03:30:51 EST


On 03/07/17 23:08, Stefano Stabellini wrote:
> Release both active and passive sockets. For active sockets, make sure
> to avoid possible conflicts with the ioworker reading/writing to those
> sockets concurrently. Set map->release to let the ioworker know
> atomically that the socket will be released soon, then wait until the
> ioworker finishes (flush_work).
>
> Unmap indexes pages and data rings.
>
> Signed-off-by: Stefano Stabellini <stefano@xxxxxxxxxxx>

Reviewed-by: Juergen Gross <jgross@xxxxxxxx>


Thanks,

Juergen