From: Catalin Marinas Date: Tue, 7 Jul 2009 09:32:56 +0000 (+0100) Subject: kmemleak: Add more cond_resched() calls in the scanning thread X-Git-Tag: v2.6.31-rc3~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b8a96744c0c27ab94fb4e8155d4384c3b399e27;p=pandora-kernel.git kmemleak: Add more cond_resched() calls in the scanning thread Following recent fix to no longer reschedule in the scan_block() function, the system may become unresponsive with !PREEMPT. This patch re-adds the cond_resched() call to scan_block() but conditioned by the allow_resched parameter. Signed-off-by: Catalin Marinas Cc: Ingo Molnar --- Reading git-diff-tree failed