Skip to content

Commit

Permalink
pvcalls-front: introduce a per sock_mapping refcount
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Juergen Gross <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
  • Loading branch information
sstabellini authored and jgross1 committed Feb 17, 2018
1 parent 63e708f commit 64d6871
Showing 1 changed file with 79 additions and 112 deletions.
Loading

0 comments on commit 64d6871

Please sign in to comment.