From: Glauber Costa Date: Sun, 11 Dec 2011 21:47:09 +0000 (+0000) Subject: Display maximum tcp memory allocation in kmem cgroup X-Git-Tag: v3.3-rc1~182^2~251 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0850f0f5c54261a6236f013e8bac154bcce424d6;p=pandora-kernel.git Display maximum tcp memory allocation in kmem cgroup This patch introduces kmem.tcp.max_usage_in_bytes file, living in the kmem_cgroup filesystem. The root cgroup will display a value equal to RESOURCE_MAX. This is to avoid introducing any locking schemes in the network paths when cgroups are not being actively used. All others, will see the maximum memory ever used by this cgroup. Signed-off-by: Glauber Costa Reviewed-by: Hiroyouki Kamezawa CC: David S. Miller CC: Eric W. Biederman Signed-off-by: David S. Miller --- Reading git-diff-tree failed