percpu: zero memory more efficiently in mm/percpu.c::pcpu_mem_alloc()
Don't do vmalloc() + memset() when vzalloc() will do. tj: dropped unnecessary temp variable ptr. Signed-off-by: NJesper Juhl <jj@chaosbits.net> Signed-off-by: NTejun Heo <tj@kernel.org>
Showing
想要评论请 注册 或 登录