Re: [PATCH v3 1/2] pvcalls-front: introduce a per sock_mapping refcount
From: Juergen Gross
Date: Thu Feb 15 2018 - 04:49:37 EST
On 14/02/18 19:28, Stefano Stabellini wrote:
> Introduce a per sock_mapping refcount, in addition to the existing
> global refcount. Thanks to the sock_mapping refcount, we can safely wait
> for it to be 1 in pvcalls_front_release before freeing an active socket,
> instead of waiting for the global refcount to be 1.
>
> Signed-off-by: Stefano Stabellini <stefano@xxxxxxxxxxx>
Acked-by: Juergen Gross <jgross@xxxxxxxx>
Juergen