]> 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)
commite7e24f72464e69bb10763f247072a93a1af5a6da
tree1638831bffe23bcf83170c534102e912c2d7637a
parent87e78ec3e90836cb0f6b66469d5b974b5dbfe84d
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