From: Eric Dumazet Date: Wed, 29 Oct 2008 09:32:32 +0000 (-0700) Subject: udp: calculate udp_mem based on low memory instead of all memory X-Git-Tag: v2.6.29-rc1~581^2~947 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8203efb3c612743fecb1ed67cf1daf9d9c127462;p=pandora-kernel.git udp: calculate udp_mem based on low memory instead of all memory This patch mimics commit 57413ebc4e0f1e471a3b4db4aff9a85c083d090e (tcp: calculate tcp_mem based on low memory instead of all memory) The udp_mem array which contains limits on the total amount of memory used by UDP sockets is calculated based on nr_all_pages. On a 32 bits x86 system, we should base this on the number of lowmem pages. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed