summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2017-07-06 11:01:07 -0700
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2017-08-31 09:45:55 -0400
commita51729cb9b8079dcb520cb78a761f14fbdd0a3b4 (patch)
treea2a4ad0ccb678e0ab352b58e4b0c38af040f2078 /init
parent3cf33a587de48740c2da4d2ea5b414d5e493a2eb (diff)
downloadlinux-a51729cb9b8079dcb520cb78a761f14fbdd0a3b4.tar.gz
linux-a51729cb9b8079dcb520cb78a761f14fbdd0a3b4.tar.bz2
linux-a51729cb9b8079dcb520cb78a761f14fbdd0a3b4.zip
xen/pvcalls: implement release command
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@aporeto.com> Reviewed-by: Juergen Gross <jgross@suse.com> CC: boris.ostrovsky@oracle.com CC: jgross@suse.com Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions