[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yd3HQGCmDcyWY6QB@carbon.dhcp.thefacebook.com>
Date: Tue, 11 Jan 2022 10:06:56 -0800
From: Roman Gushchin <guro@...com>
To: Wei Yang <richard.weiyang@...il.com>
CC: <hannes@...xchg.org>, <mhocko@...nel.org>,
<vdavydov.dev@...il.com>, <akpm@...ux-foundation.org>,
<shakeelb@...gle.com>, <vbabka@...e.cz>, <willy@...radead.org>,
<songmuchun@...edance.com>, <shy828301@...il.com>,
<surenb@...gle.com>, <linux-kernel@...r.kernel.org>,
<cgroups@...r.kernel.org>, <linux-mm@...ck.org>
Subject: Re: [PATCH 2/4] mm/memcg: mem_cgroup_per_node is already set to 0 on
allocation
On Tue, Jan 11, 2022 at 01:03:00AM +0000, Wei Yang wrote:
> kzalloc_node() would set data to 0, so it's not necessary to set it
> again.
>
> Signed-off-by: Wei Yang <richard.weiyang@...il.com>
Reviewed-by: Roman Gushchin <guro@...com>
Thanks!
Powered by blists - more mailing lists