summaryrefslogtreecommitdiff
path: root/net/ipv4/devinet.c
diff options
context:
space:
mode:
authorGlauber Costa <glommer@parallels.com>2011-12-11 21:47:09 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-12-13 00:04:11 (GMT)
commit0850f0f5c54261a6236f013e8bac154bcce424d6 (patch)
treeb35c273a600f29b971c92bbc7c3ae8ad1f133c28 /net/ipv4/devinet.c
parentffea59e50494198a0db4d6ad8f6721b8fd994f65 (diff)
downloadlinux-fsl-qoriq-0850f0f5c54261a6236f013e8bac154bcce424d6.tar.xz
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 'net/ipv4/devinet.c')
0 files changed, 0 insertions, 0 deletions