summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-12 13:00:07 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-12 13:03:37 +0200
commitc40798e0fda94a1b4178b7e620a0777bb86927be (patch)
treefdbc7d22e23324da81ef8f4b920af9ca28a7e2a9
parent2ba043d04468261cc767a3b91cec6df4b2238950 (diff)
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.
-rw-r--r--vm/vm_pageout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_pageout.c b/vm/vm_pageout.c
index b13128a..51a6a0d 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;
}