]> git.baikalelectronics.ru Git - kernel.git/commit
ksm: drain pagevecs to lru
authorHugh Dickins <hughd@google.com>
Thu, 13 Jan 2011 23:47:29 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:49 +0000 (17:32 -0800)
commitcb4a1e55e87e8a6a16e3a9b679ef9868e012c33b
tree093244c121dcbb91423f119cea9abc50e11ad078
parent1bcf0c1c9efd24cccba897c7e73433a07ad2824f
ksm: drain pagevecs to lru

It was hard to explain the page counts which were causing new LTP tests
of KSM to fail: we need to drain the per-cpu pagevecs to LRU occasionally.

Signed-off-by: Hugh Dickins <hughd@google.com>
Reported-by: CAI Qian <caiqian@redhat.com>
Cc:Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/ksm.c