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
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
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
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
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
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
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(+