Re: [PATCH 6/6] memcg: do not tweak node in alloc_mem_cgroup_per_node_info
From: Oscar Salvador
Date: Fri Jan 28 2022 - 06:01:40 EST
On 2022-01-27 09:53, Michal Hocko wrote:
From: Wei Yang <richard.weiyang@xxxxxxxxx>
alloc_mem_cgroup_per_node_info is allocated for each possible node and
this used to be a problem because not !node_online nodes didn't have
appropriate data structure allocated. This has changed by "mm: handle
uninitialized numa nodes gracefully" so we can drop the special casing
here.
Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx>
Signed-off-by: Michal Hocko <mhocko@xxxxxxxx>
Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>
--
Oscar Salvador
SUSE Labs