diff options
author | David S. Miller <davem@davemloft.net> | 2016-03-22 16:18:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-22 16:18:42 -0400 |
commit | 9a3492194eca6253ae7ba93c7a402cecad7f1c94 (patch) | |
tree | 8ca3e07cbeae365ba4d5d359e5931261ed0151e4 /drivers/net/wireless/broadcom/b43/main.c | |
parent | 9a0384c020b055a555500906be8ac314c92f3998 (diff) | |
parent | f7f9b5e7f8eccfd68ffa7b8d74b07c478bb9e7f0 (diff) | |
download | linux-9a3492194eca6253ae7ba93c7a402cecad7f1c94.tar.gz linux-9a3492194eca6253ae7ba93c7a402cecad7f1c94.tar.bz2 linux-9a3492194eca6253ae7ba93c7a402cecad7f1c94.zip |
Merge branch 'AF_VSOCK-missed-wakeups'
Claudio Imbrenda says:
====================
AF_VSOCK: Shrink the area influenced by prepare_to_wait
This patchset applies on net-next.
I think I found a problem with the patch submitted by Laura Abbott
( https://lkml.org/lkml/2016/2/4/711 ): 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: http://www.makelinux.net/ldd3/chp-6-sect-2 ).
The first patch reverts the previous broken patch, while the second patch
properly fixes the sleep-while-waiting issue.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/broadcom/b43/main.c')
0 files changed, 0 insertions, 0 deletions