summaryrefslogtreecommitdiff
path: root/debian/patches/upstreamme0007-vm-fix-traversing-the-list-of-inactive-pages.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-10 12:28:25 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-10 12:28:25 +0200
commit025f74bd8f2a4cf4bb0f65d221823cc2c4d9d1cb (patch)
tree0c1d290219a8826ff4973bd5c4e2c8f7b62d3505 /debian/patches/upstreamme0007-vm-fix-traversing-the-list-of-inactive-pages.patch
parentdae1bfdd097a94aab30e6759d5f670c7853ad4b4 (diff)
add patch series
Diffstat (limited to 'debian/patches/upstreamme0007-vm-fix-traversing-the-list-of-inactive-pages.patch')
-rw-r--r--debian/patches/upstreamme0007-vm-fix-traversing-the-list-of-inactive-pages.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/upstreamme0007-vm-fix-traversing-the-list-of-inactive-pages.patch b/debian/patches/upstreamme0007-vm-fix-traversing-the-list-of-inactive-pages.patch
new file mode 100644
index 0000000..51ada71
--- /dev/null
+++ b/debian/patches/upstreamme0007-vm-fix-traversing-the-list-of-inactive-pages.patch
@@ -0,0 +1,27 @@
+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
+