aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-10-27 16:45:24 -0400
committerDavid Teigland <teigland@redhat.com>2022-11-08 12:59:41 -0600
commit194a3fb488f2760eda67c3ab0ce3a095e8006d72 (patch)
tree62c81693fd433e8dfc615f8f5c01ceda5f6bb67f /tools/perf/scripts/python
parentfs: dlm: remove ls_remove_wait waitqueue (diff)
downloadwireguard-linux-194a3fb488f2760eda67c3ab0ce3a095e8006d72.tar.xz
wireguard-linux-194a3fb488f2760eda67c3ab0ce3a095e8006d72.zip
fs: dlm: relax sending to allow receiving
This patch drops additionally the sock_mutex when there is a sending message burst. Since we have acknowledge handling we free sending buffers only when we receive an ack back, but if we are stuck in send_to_sock() looping because dlm sends a lot of messages and we never leave the loop the sending buffer fill up very quickly. We can't receive during this iteration because the sock_mutex is held. This patch will unlock the sock_mutex so it should be possible to receive messages when a burst of sending messages happens. This will allow to free up memory because acks which are already received can be processed. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions