From: Eric Dumazet Date: Fri, 15 May 2015 19:39:25 +0000 (-0700) Subject: net: fix sk_mem_reclaim_partial() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~271^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a24e04e4b50939daa3041682b38b82c896ca438;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed