forked from Minki/linux
3aaabe2342
This patch uses the "tcp.limit_in_bytes" field of the kmem_cgroup to effectively control the amount of kernel memory pinned by a cgroup. This value is ignored in the root cgroup, and in all others, caps the value specified by the admin in the net namespaces' view of tcp_sysctl_mem. If namespaces are being used, the admin is allowed to set a value bigger than cgroup's maximum, the same way it is allowed to set pretty much unlimited values in a real box. Signed-off-by: Glauber Costa <glommer@parallels.com> Reviewed-by: Hiroyouki Kamezawa <kamezawa.hiroyu@jp.fujitsu.com> CC: David S. Miller <davem@davemloft.net> CC: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
00-INDEX | ||
blkio-controller.txt | ||
cgroup_event_listener.c | ||
cgroups.txt | ||
cpuacct.txt | ||
cpusets.txt | ||
devices.txt | ||
freezer-subsystem.txt | ||
memcg_test.txt | ||
memory.txt | ||
net_prio.txt | ||
resource_counter.txt |