diff options
author | Yelena Krivosheev <yelena@marvell.com> | 2018-07-18 18:10:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-28 22:12:55 -0700 |
commit | 562e2f467e71f45f0400ebee5077eaa426d3e426 (patch) | |
tree | 43091d1a8aa0e7541a1b4080b4dae1e0e2e89715 /net/unix/af_unix.c | |
parent | f945cec88cbd2f66251a9f5b2532ca10c4e87426 (diff) |
net: mvneta: Improve the buffer allocation method for SWBM
With system having a small memory (around 256MB), the state "cannot
allocate memory to refill with new buffer" is reach pretty quickly.
By this patch we changed buffer allocation method to a better handling of
this use case by avoiding memory allocation issues.
Signed-off-by: Yelena Krivosheev <yelena@marvell.com>
[gregory: extract from a larger patch]
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions