From: Juergen Gross <jgross@suse.com>
To: Stefano Stabellini <sstabellini@kernel.org>, boris.ostrovsky@oracle.com
Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org,
Stefano Stabellini <stefano@aporeto.com>
Subject: Re: [PATCH 2/2] pvcalls-front: wait for other operations to return when release passive sockets
Date: Mon, 12 Feb 2018 14:39:24 +0100 [thread overview]
Message-ID: <e2d6f037-cb0c-7669-0efc-c1e9bcf69a07@suse.com> (raw)
In-Reply-To: <1517871107-15349-2-git-send-email-sstabellini@kernel.org>
On 05/02/18 23:51, Stefano Stabellini wrote:
> Passive sockets can have ongoing operations on them, specifically, we
> have two wait_event_interruptable calls in pvcalls_front_accept.
>
> Add two wake_up calls in pvcalls_front_release, then wait for the
> potential waiters to return and release the sock_mapping refcount.
>
> Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Acked-by: Juergen Gross <jgross@suse.com>
Juergen
next prev parent reply other threads:[~2018-02-12 13:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-05 22:51 [PATCH 0/2] pvcalls-front improvements Stefano Stabellini
2018-02-05 22:51 ` [PATCH 1/2] pvcalls-front: introduce a per sock_mapping refcount Stefano Stabellini
2018-02-05 22:51 ` [PATCH 2/2] pvcalls-front: wait for other operations to return when release passive sockets Stefano Stabellini
2018-02-12 13:39 ` Juergen Gross [this message]
2018-02-13 2:07 ` Stefano Stabellini
2018-02-12 13:14 ` [PATCH 1/2] pvcalls-front: introduce a per sock_mapping refcount Juergen Gross
2018-02-13 2:06 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e2d6f037-cb0c-7669-0efc-c1e9bcf69a07@suse.com \
--to=jgross@suse.com \
--cc=boris.ostrovsky@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sstabellini@kernel.org \
--cc=stefano@aporeto.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome