]> git.baikalelectronics.ru Git - kernel.git/commit
kmemleak: Fix the kmemleak tracking of the percpu areas with !SMP
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 9 May 2012 15:55:19 +0000 (16:55 +0100)
committerTejun Heo <tj@kernel.org>
Wed, 9 May 2012 17:13:29 +0000 (10:13 -0700)
commitf10ef27e335c72b86e86fc8ae493efdfc04d74ec
treed28702d0290cd2da7e443d798baab10ac831c4fe
parent6076ae62ac0876df10a0c5462c1a5bb3328c103e
kmemleak: Fix the kmemleak tracking of the percpu areas with !SMP

Kmemleak tracks the percpu allocations via a specific API and the
originally allocated areas must be removed from kmemleak (via
kmemleak_free). The code was already doing this for SMP systems.

Reported-by: Sami Liedes <sami.liedes@iki.fi>
Cc: Tejun Heo <tj@kernel.org>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
mm/percpu.c