aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2018-04-02 11:24:59 +0800
committerDavid S. Miller <davem@davemloft.net>2018-04-02 11:14:03 -0400
commit1799cdd287ff09c6d34347409b0d4f464e197aea (patch)
tree444f30d07de54c17548d100a745e969aae8e1953 /include/linux/socket.h
parentnet: mvneta: split rxq/txq init and txq deinit into SW and HW parts (diff)
downloadwireguard-linux-1799cdd287ff09c6d34347409b0d4f464e197aea.tar.xz
wireguard-linux-1799cdd287ff09c6d34347409b0d4f464e197aea.zip
net: mvneta: improve suspend/resume
Current suspend/resume implementation reuses the mvneta_open() and mvneta_close(), but it could be optimized to take only necessary actions during suspend/resume. One obvious problem of current implementation is: after hundreds of system suspend/resume cycles, the resume of mvneta could fail due to fragmented dma coherent memory. After this patch, the non-necessary memory alloc/free is optimized out. Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/socket.h')
0 files changed, 0 insertions, 0 deletions