kmemleak: Scan all thread stacks
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 1 Sep 2009 10:12:44 +0000 (11:12 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 4 Sep 2009 15:05:55 +0000 (16:05 +0100)
commit43ed5d6ee0f9bfd655d6bc3cb2d964b80c4422c0
treee201f0d610a44dbc9e09cec13b52c5cce351136a
parent8e019366ba749a536131cde1947af6dcaccf8e8f
kmemleak: Scan all thread stacks

This patch changes the for_each_process() loop with the
do_each_thread()/while_each_thread() pair.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
mm/kmemleak.c