[PATCH v3 1/2] Revert "vsock: Fix blocking ops call in prepare_to_wait"

2016-03-22 Thread Claudio Imbrenda
nd the schedule) but at least it will not miss wakeups. The next patch in the series actually fixes the behaviour. Signed-off-by: Claudio Imbrenda --- net/vmw_vsock/af_vsock.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/net/vmw_vsock/af_vsock.c

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

2016-03-22 Thread Claudio Imbrenda
influence of prepare_to_wait to the area where it is strictly needed, therefore relaxing the no-sleep restriction there. Signed-off-by: Claudio Imbrenda --- net/vmw_vsock/af_vsock.c | 158 +-- 1 file changed, 85 insertions(+), 73 deletions(-) diff --git a

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

2016-03-22 Thread Claudio Imbrenda
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. Claudio Imbrenda (2): Revert

[PATCH v2 1/2] Revert "vsock: Fix blocking ops call in prepare_to_wait"

2016-03-20 Thread Claudio Imbrenda
This reverts commit 5988818008257ca42010d6b43a3e0e48afec9898 ("vsock: Fix blocking ops call in prepare_to_wait") Signed-off-by: Claudio Imbrenda --- net/vmw_vsock/af_vsock.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/net/vmw_vsock/af_vso

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

2016-03-19 Thread Claudio Imbrenda
I'm resending as requested. This patchset applies on net-next. And sorry for the mis-formatting of the previous message. Claudio Imbrenda (2): Revert "vsock: Fix blocking ops call in prepare_to_wait" AF_VSOCK: Shrink the area influenced by prepare_to_wait net/vmw_vsock/a

[PATCH v2 2/2] AF_VSOCK: Shrink the area influenced by prepare_to_wait

2016-03-19 Thread Claudio Imbrenda
influence of prepare_to_wait to the area where it is strictly needed, therefore relaxing the no-sleep restriction there. Signed-off-by: Claudio Imbrenda --- net/vmw_vsock/af_vsock.c | 158 +-- 1 file changed, 85 insertions(+), 73 deletions(-) diff --git a

Re: [PATCHv2] vsock: Fix blocking ops call in prepare_to_wait

2016-03-11 Thread Claudio Imbrenda
ons. This patch shrinks the influence of prepare_to_wait to the area where it is strictly needed, therefore relaxing the no-sleep restriction there. Signed-off-by: Claudio Imbrenda --- net/vmw_vsock/af_vsock.c | 158 +-- 1 file changed, 85 insertions(+