summaryrefslogtreecommitdiff
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-07-07 13:32:56 +0400
committerCatalin Marinas <catalin.marinas@arm.com>2009-07-07 13:32:56 +0400
commit4b8a96744c0c27ab94fb4e8155d4384c3b399e27 (patch)
treee769e01395a3a13e28bf146fce20a3f3f2a95750 /mm/rmap.c
parentbf2a76b317c6ccc6f7b6b1dc09664c5b6a155c61 (diff)
downloadlinux-4b8a96744c0c27ab94fb4e8155d4384c3b399e27.tar.xz
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 <catalin.marinas@arm.com> Cc: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/rmap.c')
0 files changed, 0 insertions, 0 deletions