diff options
author | Miquel van Smoorenburg <miquels@cistron.nl> | 2008-06-28 02:23:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-06-28 02:23:57 +0200 |
commit | 57413ebc4e0f1e471a3b4db4aff9a85c083d090e (patch) | |
tree | 325ee5d251700d991cea87d2c4d643b374959095 /net/core | |
parent | hamradio: remove unused variable (diff) | |
download | linux-57413ebc4e0f1e471a3b4db4aff9a85c083d090e.tar.xz linux-57413ebc4e0f1e471a3b4db4aff9a85c083d090e.zip |
tcp: calculate tcp_mem based on low memory instead of all memory
The tcp_mem array which contains limits on the total amount of memory
used by TCP 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: Miquel van Smoorenburg <miquels@cistron.nl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions