diff options
author | Claudio Imbrenda <imbrenda@linux.vnet.ibm.com> | 2016-03-22 17:05:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-22 21:18:41 +0100 |
commit | f7f9b5e7f8eccfd68ffa7b8d74b07c478bb9e7f0 (patch) | |
tree | 8ca3e07cbeae365ba4d5d359e5931261ed0151e4 /scripts/ksymoops | |
parent | Revert "vsock: Fix blocking ops call in prepare_to_wait" (diff) | |
download | linux-f7f9b5e7f8eccfd68ffa7b8d74b07c478bb9e7f0.tar.xz linux-f7f9b5e7f8eccfd68ffa7b8d74b07c478bb9e7f0.zip |
AF_VSOCK: Shrink the area influenced by prepare_to_wait
When a thread is prepared for waiting by calling prepare_to_wait, sleeping
is not allowed until either the wait has taken place or finish_wait has
been called. The existing code in af_vsock imposed unnecessary no-sleep
assumptions to a broad list of backend functions.
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 <imbrenda@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions