Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 7af4c093 authored by Jesper Juhl's avatar Jesper Juhl Committed by Tejun Heo
Browse files

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: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent cf7d7e5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment