]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: make pcpu_build_alloc_info() clear static buffers
authorTejun Heo <tj@kernel.org>
Thu, 24 Sep 2009 09:50:34 +0000 (18:50 +0900)
committerTejun Heo <tj@kernel.org>
Tue, 29 Sep 2009 00:17:57 +0000 (09:17 +0900)
commit3d4f499841558babf1d9501de9e9644400c58810
tree56d4dccd4bafd1fbd61744cd09888f6d4c80abb5
parent0becd8e547c533d716306c8d843e602f53768dd2
percpu: make pcpu_build_alloc_info() clear static buffers

pcpu_build_alloc_info() may be called multiple times when percpu is
falling back to different first chunk allocator.  Make it clear static
buffers so that they don't contain values from previous runs.

Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu.c