From c40798e0fda94a1b4178b7e620a0777bb86927be Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 12 Jul 2015 13:00:07 +0200 Subject: vm: really fix traversing the list of inactive pages Previously, the pageout code traversed the list of pages in an object instead of the list of inactive pages. * vm/vm_pageout.c (vm_pageout_scan): Fix traversing the list of inactive pages. --- vm/vm_pageout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c index b13128a4..51a6a0d4 100644 --- a/vm/vm_pageout.c +++ b/vm/vm_pageout.c @@ -693,7 +693,7 @@ void vm_pageout_scan(void) if (want_pages || m->external) break; - m = (vm_page_t) queue_next (&m->listq); + m = (vm_page_t) queue_next (&m->pageq); if (!m) goto pause; } -- cgit v1.2.3