Re: [PATCH 2/4] mm/memcg: mem_cgroup_per_node is already set to 0 on allocation
From: Muchun Song
Date: Mon Jan 10 2022 - 21:26:16 EST
On Tue, Jan 11, 2022 at 9:03 AM Wei Yang <richard.weiyang@xxxxxxxxx> wrote:
>
> kzalloc_node() would set data to 0, so it's not necessary to set it
> again.
>
> Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx>
Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Thanks.