tcp memory pressure controls
authorGlauber Costa <glommer@parallels.com>
Sun, 11 Dec 2011 21:47:04 +0000 (21:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Dec 2011 00:04:10 +0000 (19:04 -0500)
commitd1a4c0b37c296e600ffe08edb0db2dc1b8f550d7
tree5c3675582cbbdc99f720aa1dcc1821e26c2be1ab
parente1aab161e0135aafcd439be20b4f35e4b0922d95
tcp memory pressure controls

This patch introduces memory pressure controls for the tcp
protocol. It uses the generic socket memory pressure code
introduced in earlier patches, and fills in the
necessary data in cg_proto struct.

Signed-off-by: Glauber Costa <glommer@parallels.com>
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujtisu.com>
CC: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/cgroups/memory.txt
include/linux/memcontrol.h
include/net/sock.h
include/net/tcp_memcontrol.h [new file with mode: 0644]
mm/memcontrol.c
net/core/sock.c
net/ipv4/Makefile
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_memcontrol.c [new file with mode: 0644]
net/ipv6/tcp_ipv6.c