[lkml]   [2010]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] cgroup: prefer [kv]zalloc[_node] over [kv]malloc+memset in memory controller code.
> In mem_cgroup_alloc() we currently do either kmalloc() or vmalloc() then 
> followed by memset() to zero the memory. This can be more efficiently
> achieved by using kzalloc() and vzalloc().
> There's also one situation where we can use kzalloc_node() - this is
> what's new in this version of the patch.
> The original patch was:
> Acked-by: KAMEZAWA Hiroyuki <>
> Reviewed-by: Minchan Kim <>
> Reviewed-by: Wu Fengguang <>
> Acked-by: Balbir Singh <>
> Here's version 2. I'd appreciate it if someone could merge it, but I don't
> know who that someone would be.

Normally it's Andrew Morton.

btw, a better title is: [...] memcgroup: prefer ... over ... memset

 \ /
  Last update: 2010-11-04 21:37    [W:0.030 / U:1.576 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site