1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
|