Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment