Re: [PATCH v3 0/2] AF_VSOCK: Shrink the area influenced by prepare_to_wait

From: David Miller
Date: Tue Mar 22 2016 - 16:19:22 EST

From: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Mar 2016 17:05:50 +0100

> This patchset applies on net-next.
> I think I found a problem with the patch submitted by Laura Abbott
> ( ): we might miss wakeups.
> Since the condition is not checked between the prepare_to_wait and the
> schedule(), if a wakeup happens after the condition is checked but before
> the sleep happens, and we miss it. ( A description of the problem can be
> found here: ).
> The first patch reverts the previous broken patch, while the second patch
> properly fixes the sleep-while-waiting issue.

Series applied, thanks for following up on this.