diff options
| author | Eric Dumazet <[email protected]> | 2015-05-15 19:39:30 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-05-18 02:45:49 +0000 |
| commit | b66e91ccbc34ebd5a2f90f9e1bc1597e2924a500 (patch) | |
| tree | 13db6cdf2a7ff4f841f3ec44b5700a8e9af1b361 /net/switchdev/switchdev.c | |
| parent | tcp: allow one skb to be received per socket under memory pressure (diff) | |
| download | kernel-b66e91ccbc34ebd5a2f90f9e1bc1597e2924a500.tar.gz kernel-b66e91ccbc34ebd5a2f90f9e1bc1597e2924a500.zip | |
tcp: halves tcp_mem[] limits
Allowing tcp to use ~19% of physical memory is way too much,
and allowed bugs to be hidden. Add to this that some drivers use a full
page per incoming frame, so real cost can be twice the advertized one.
Reduce tcp_mem by 50 % as a first step to sanity.
tcp_mem[0,1,2] defaults are now 4.68%, 6.25%, 9.37% of physical memory.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
