summaryrefslogtreecommitdiff
path: root/debian/patches/upstreamme0006-vm-drop-debugging-remnants.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/upstreamme0006-vm-drop-debugging-remnants.patch
parentdae1bfdd097a94aab30e6759d5f670c7853ad4b4 (diff)
add patch series
Diffstat (limited to 'debian/patches/upstreamme0006-vm-drop-debugging-remnants.patch')
-rw-r--r--debian/patches/upstreamme0006-vm-drop-debugging-remnants.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/debian/patches/upstreamme0006-vm-drop-debugging-remnants.patch b/debian/patches/upstreamme0006-vm-drop-debugging-remnants.patch
new file mode 100644
index 0000000..bc81dc3
--- /dev/null
+++ b/debian/patches/upstreamme0006-vm-drop-debugging-remnants.patch
@@ -0,0 +1,48 @@
+From 788f6f550b6d940c0ba936b338ebe17952abe04c Mon Sep 17 00:00:00 2001
+From: Justus Winter <4winter@informatik.uni-hamburg.de>
+Date: Fri, 10 Jul 2015 02:00:56 +0200
+Subject: [PATCH gnumach 06/10] vm: drop debugging remnants
+
+* vm/vm_object.c (vm_object_terminate): Drop debugging remnants.
+---
+ vm/vm_object.c | 10 ----------
+ 1 file changed, 10 deletions(-)
+
+diff --git a/vm/vm_object.c b/vm/vm_object.c
+index 8c6bbab..deac0c2 100644
+--- a/vm/vm_object.c
++++ b/vm/vm_object.c
+@@ -588,10 +588,6 @@ void vm_object_terminate(
+
+ VM_PAGE_CHECK(p);
+
+- if (p->busy && !p->absent)
+- panic("vm_object_terminate.2 0x%x 0x%x",
+- object, p);
+-
+ VM_PAGE_FREE(p);
+ }
+ } else while (!queue_empty(&object->memq)) {
+@@ -599,9 +595,6 @@ void vm_object_terminate(
+
+ VM_PAGE_CHECK(p);
+
+- if (p->busy && !p->absent)
+- panic("vm_object_terminate.3 0x%x 0x%x", object, p);
+-
+ vm_page_lock_queues();
+ VM_PAGE_QUEUES_REMOVE(p);
+ vm_page_unlock_queues();
+@@ -619,9 +612,6 @@ void vm_object_terminate(
+ goto free_page;
+ }
+
+- if (p->fictitious)
+- panic("vm_object_terminate.4 0x%x 0x%x", object, p);
+-
+ if (!p->dirty)
+ p->dirty = pmap_is_modified(p->phys_addr);
+
+--
+2.1.4
+