]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bee1f106692fc7e0062a1b0d35b995d17bb17c0
tree1638831bffe23bcf83170c534102e912c2d7637a
parent6854fb6cf46f5dc3533427aa3878a01490ad7bbb
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