summaryrefslogtreecommitdiffstats
path: root/firmware/mts_edge.fw.ihex
diff options
context:
space:
mode:
authorSteve French <smfrench@gmail.com>2017-05-04 07:54:04 -0500
committerSteve French <smfrench@gmail.com>2017-05-09 20:37:32 -0500
commitde1892b887eeb85ce458a93979c2108e6f329618 (patch)
tree661369262e31859faf6f507586259627ca159952 /firmware/mts_edge.fw.ihex
parent560d388950ceda5e7c7cdef7f3d9a8ff297bbf9d (diff)
downloadlinux-de1892b887eeb85ce458a93979c2108e6f329618.tar.gz
linux-de1892b887eeb85ce458a93979c2108e6f329618.tar.bz2
linux-de1892b887eeb85ce458a93979c2108e6f329618.zip
Don't delay freeing mids when blocked on slow socket write of request
When processing responses, and in particular freeing mids (DeleteMidQEntry), which is very important since it also frees the associated buffers (cifs_buf_release), we can block a long time if (writes to) socket is slow due to low memory or networking issues. We can block in send (smb request) waiting for memory, and be blocked in processing responess (which could free memory if we let it) - since they both grab the server->srv_mutex. In practice, in the DeleteMidQEntry case - there is no reason we need to grab the srv_mutex so remove these around DeleteMidQEntry, and it allows us to free memory faster. Signed-off-by: Steve French <steve.french@primarydata.com> Acked-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'firmware/mts_edge.fw.ihex')
0 files changed, 0 insertions, 0 deletions