Commit 7af4c0932437f97938eef67e553c8d211f9edf33
Committed by
Tejun Heo
1 parent
cf7d7e5a19
Exists in
master
and in
20 other branches
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: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Tejun Heo <tj@kernel.org>
Showing 1 changed file with 2 additions and 6 deletions Side-by-side Diff
mm/percpu.c