From 1b8e67a0ff194c5d67fe22a918c2449c2d9ac150 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Sat, 24 Dec 2016 00:06:09 +0100 Subject: VM: fix pageability check Unlike laundry pages sent to the default pager, pages marked with the `external_laundry' bit remain in the page queues and must be filtered out by the pageability check. * vm/vm_page.c (vm_page_can_move): Check the `external_laundry' bit. --- vm/vm_page.c | 1 + 1 file changed, 1 insertion(+) diff --git a/vm/vm_page.c b/vm/vm_page.c index 92e36a1a..b7b76a54 100644 --- a/vm/vm_page.c +++ b/vm/vm_page.c @@ -312,6 +312,7 @@ vm_page_can_move(const struct vm_page *page) */ return !page->busy + && !page->external_laundry && !page->wanted && !page->absent && page->object->alive; -- cgit v1.2.3