diff options
author | Stefano Stabellini <sstabellini@kernel.org> | 2018-02-14 10:28:23 -0800 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2018-02-17 09:40:58 +0100 |
commit | 64d6871827b1e2ac8c9daf49f2c883378c7d50cd (patch) | |
tree | 344bc0cf903eb3b9d73d09cdaadc1018e2db9a2c /drivers/xen/acpi.c | |
parent | 63e708f826bb21470155d37b103a75d8a9e25b18 (diff) | |
download | op-kernel-dev-64d6871827b1e2ac8c9daf49f2c883378c7d50cd.zip op-kernel-dev-64d6871827b1e2ac8c9daf49f2c883378c7d50cd.tar.gz |
pvcalls-front: introduce a per sock_mapping refcount
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@aporeto.com>
Acked-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen/acpi.c')
0 files changed, 0 insertions, 0 deletions