Re: [PATCH 06/13] net: tcp_memcontrol: simplify the per-memcg limit access

2015-11-25 Thread David Miller
From: Johannes Weiner Date: Tue, 24 Nov 2015 16:51:58 -0500 > tcp_memcontrol replicates the global sysctl_mem limit array per > cgroup, but it only ever sets these entries to the value of the > memory_allocated page_counter limit. Use the latter directly. > > Signed-off-by: Johannes Weiner > Re

[PATCH 06/13] net: tcp_memcontrol: simplify the per-memcg limit access

2015-11-24 Thread Johannes Weiner
tcp_memcontrol replicates the global sysctl_mem limit array per cgroup, but it only ever sets these entries to the value of the memory_allocated page_counter limit. Use the latter directly. Signed-off-by: Johannes Weiner Reviewed-by: Vladimir Davydov --- include/linux/memcontrol.h | 1 - includ