summaryrefslogtreecommitdiff
path: root/debian/patches/upstreamme0001-vm-really-fix-traversing-the-list-of-inactive-pages.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-12 13:04:05 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-12 13:04:05 +0200
commit5c19e8000c285fcaf10763498edae328415c9be7 (patch)
treec0608f9ed27eaae0fe737c9276e1fc8dcdea5d44 /debian/patches/upstreamme0001-vm-really-fix-traversing-the-list-of-inactive-pages.patch
parent60a5cfeaadda84682ae799dd213e23a937e4f2bc (diff)
add patch series
Diffstat (limited to 'debian/patches/upstreamme0001-vm-really-fix-traversing-the-list-of-inactive-pages.patch')
-rw-r--r--debian/patches/upstreamme0001-vm-really-fix-traversing-the-list-of-inactive-pages.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/patches/upstreamme0001-vm-really-fix-traversing-the-list-of-inactive-pages.patch b/debian/patches/upstreamme0001-vm-really-fix-traversing-the-list-of-inactive-pages.patch
new file mode 100644
index 0000000..ab1994b
--- /dev/null
+++ b/debian/patches/upstreamme0001-vm-really-fix-traversing-the-list-of-inactive-pages.patch
@@ -0,0 +1,31 @@
+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: [PATCH gnumach 1/2] 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 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;
+ }
+--
+2.1.4
+