]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit31b20e9f7331fc1ca90d9238859e5e3e40cc5879
tree5c3675582cbbdc99f720aa1dcc1821e26c2be1ab
parente76ec9cff8b6c76d9d1e573fb4904c11c7bfd914
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