Skip to content
Commit 57413ebc authored by Miquel van Smoorenburg's avatar Miquel van Smoorenburg Committed by David S. Miller
Browse files

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: default avatarMiquel van Smoorenburg <miquels@cistron.nl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 47979821
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment