commit | 1a24e04e4b50939daa3041682b38b82c896ca438 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri May 15 12:39:25 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun May 17 22:45:48 2015 -0400 |
tree | dc47be63f82d9c6be6d193607688d10b3f78a366 | |
parent | 4633c9e07b3b7d7fc262a5f59ff635c1f702af6f [diff] |
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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>