diff options
| author | Eric Dumazet <[email protected]> | 2015-05-15 19:39:25 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-05-18 02:45:48 +0000 |
| commit | 1a24e04e4b50939daa3041682b38b82c896ca438 (patch) | |
| tree | dc47be63f82d9c6be6d193607688d10b3f78a366 /net/ipv4/tcp_timer.c | |
| parent | net-packet: fix null pointer exception in rollover mode (diff) | |
| download | kernel-1a24e04e4b50939daa3041682b38b82c896ca438.tar.gz kernel-1a24e04e4b50939daa3041682b38b82c896ca438.zip | |
net: fix sk_mem_reclaim_partial()
sk_mem_reclaim_partial() goal is to ensure each socket has
one SK_MEM_QUANTUM forward allocation. This is needed both for
performance and better handling of memory pressure situations in
follow up patches.
SK_MEM_QUANTUM is currently a page, but might be reduced to 4096 bytes
as some arches have 64KB pages.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions
