summaryrefslogtreecommitdiffstats
path: root/drivers/vhost
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2022-03-22 22:40:13 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-22 23:57:02 +0100
commitc857266dca8fe7af3d51343d0f4edf3ba4dd1542 (patch)
tree0a7fee52f3d1df7e6acaf021a103a75f0cbbdc6f /drivers/vhost
parentmemcg: add per-memcg total kernel memory stat (diff)
downloadlinux-c857266dca8fe7af3d51343d0f4edf3ba4dd1542.tar.xz
linux-c857266dca8fe7af3d51343d0f4edf3ba4dd1542.zip
mm/memcg: mem_cgroup_per_node is already set to 0 on allocation
kzalloc_node() would set data to 0, so it's not necessary to set it again. Link: https://lkml.kernel.org/r/20220201004643.8391-1-richard.weiyang@gmail.com Signed-off-by: Wei Yang <richard.weiyang@gmail.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Acked-by: Michal Hocko <mhocko@suse.com> Reviewed-by: Roman Gushchin <guro@fb.com> Reviewed-by: Mike Rapoport <rppt@linux.ibm.com> Reviewed-by: Shakeel Butt <shakeelb@google.com> Cc: Roman Gushchin <roman.gushchin@linux.dev> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vladimir Davydov <vdavydov.dev@gmail.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Yang Shi <shy828301@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions