]> 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)
commitb07a702c7df6ed06fb539a657dd6fede20073c43
tree5c3675582cbbdc99f720aa1dcc1821e26c2be1ab
parent5b2db67c3ac2eafc3b2b9c3650084ac8cbc2ce06
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