diff options
| author | Eric Dumazet <[email protected]> | 2008-10-29 09:32:32 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-10-29 09:32:32 +0000 |
| commit | 8203efb3c612743fecb1ed67cf1daf9d9c127462 (patch) | |
| tree | 56eabd6da3e36baa2aa4f6a69280e49a381ad5dc /net/ipv4/tcp_input.c | |
| parent | udp: RCU handling for Unicast packets. (diff) | |
| download | kernel-8203efb3c612743fecb1ed67cf1daf9d9c127462.tar.gz kernel-8203efb3c612743fecb1ed67cf1daf9d9c127462.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
