From: David S. Miller Date: Tue, 22 Mar 2016 20:18:42 +0000 (-0400) Subject: Merge branch 'AF_VSOCK-missed-wakeups' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a3492194eca6253ae7ba93c7a402cecad7f1c94;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 --- 9a3492194eca6253ae7ba93c7a402cecad7f1c94