# Re: \[PATCH 07/14\] net: tcp\_memcontrol: simplify the per-memcg limit access

- From: Vladimir Davydov \<hidden\>
- Date: 2015-11-20 09:52:18 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/11/4624953
- Thread: https://ratatoskr.run/netdev/2015/11/4619607/t.md

```text
On Thu, Nov 12, 2015 at 06:41:26PM -0500, Johannes Weiner wrote:
> 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 <hannes@cmpxchg.org>

Reviewed-by: Vladimir Davydov <redacted>
```
