[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1802121807030.3704@sstabellini-ThinkPad-X260>
Date: Mon, 12 Feb 2018 18:07:09 -0800 (PST)
From: Stefano Stabellini <sstabellini@...nel.org>
To: Juergen Gross <jgross@...e.com>
cc: Stefano Stabellini <sstabellini@...nel.org>,
boris.ostrovsky@...cle.com, xen-devel@...ts.xenproject.org,
linux-kernel@...r.kernel.org,
Stefano Stabellini <stefano@...reto.com>
Subject: Re: [PATCH 2/2] pvcalls-front: wait for other operations to return
when release passive sockets
On Mon, 12 Feb 2018, Juergen Gross wrote:
> 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@...reto.com>
>
> Acked-by: Juergen Gross <jgross@...e.com>
Thanks!
Powered by blists - more mailing lists