From 012439120c8eda8f4e94f74ff69659a60cedca77 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 10 Jul 2015 11:11:27 +0200 Subject: [PATCH gnumach 07/10] vm: fix traversing 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 aff823a..b13128a 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); + m = (vm_page_t) queue_next (&m->listq); if (!m) goto pause; } -- 2.1.4