diff options
author | Glauber Costa <glommer@parallels.com> | 2011-12-11 21:47:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-12 19:04:11 -0500 |
commit | 0850f0f5c54261a6236f013e8bac154bcce424d6 (patch) | |
tree | b35c273a600f29b971c92bbc7c3ae8ad1f133c28 /include/Kbuild | |
parent | ffea59e50494198a0db4d6ad8f6721b8fd994f65 (diff) |
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 <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>
Diffstat (limited to 'include/Kbuild')
0 files changed, 0 insertions, 0 deletions