ksm: add cond_resched() to the rmap_walks
authorAndrea Arcangeli <aarcange@redhat.com>
Fri, 6 Nov 2015 02:49:07 +0000 (18:49 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commitad12695f177c3403a64348b42718faf9727fe358
tree1638831bffe23bcf83170c534102e912c2d7637a
parentdf4065516b0dbfa35ac0e9b8124d441221c0a285
ksm: add cond_resched() to the rmap_walks

While at it add it to the file and anon walks too.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Petr Holasek <pholasek@redhat.com>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/ksm.c
mm/rmap.c