diff options
| author | Jisheng Zhang <[email protected]> | 2018-04-02 03:24:59 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-04-02 15:14:03 +0000 |
| commit | 1799cdd287ff09c6d34347409b0d4f464e197aea (patch) | |
| tree | 444f30d07de54c17548d100a745e969aae8e1953 /net/unix/af_unix.c | |
| parent | net: mvneta: split rxq/txq init and txq deinit into SW and HW parts (diff) | |
| download | kernel-1799cdd287ff09c6d34347409b0d4f464e197aea.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
