# Re: \[PATCH v14 035/138\] mm/memcg: Use the node id in mem\_cgroup\_update\_tree()

- From: Vlastimil Babka \<hidden\>
- Date: 2021-08-11 10:20:39 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212084
- Thread: https://ratatoskr.run/linux-mm/2021/07/209943/t/5.md

```text
On 7/15/21 5:35 AM, Matthew Wilcox (Oracle) wrote:
> By using the node id in mem_cgroup_update_tree(), we can delete
> soft_limit_tree_from_page() and mem_cgroup_page_nodeinfo().  Saves 42
> bytes of kernel text on my config.
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
> Acked-by: Michal Hocko <mhocko@suse.com>
> Acked-by: Johannes Weiner <hannes@cmpxchg.org>
> Reviewed-by: Christoph Hellwig <hch@lst.de>


Acked-by: Vlastimil Babka <redacted>


```
