summaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2001-03-14 06:14:08 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2001-03-14 06:14:08 +0000
commitaea9c68ace76a8817f79b816990c88516d9de038 (patch)
tree74d20ea9b2008a613b4a3309cbbf0747e971b1c0 /sys/vm
parent0b188c74ad7d6645da9431863401f2e0d0457d97 (diff)
Notes
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_map.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index c435e52124c4..89ebd3debea9 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -560,10 +560,17 @@ vm_map_insert(vm_map_t map, vm_object_t object, vm_ooffset_t offset,
map->first_free = new_entry;
}
+#if 0
+ /*
+ * Temporarily removed to avoid MAP_STACK panic, due to
+ * MAP_STACK being a huge hack. Will be added back in
+ * when MAP_STACK (and the user stack mapping) is fixed.
+ */
/*
* It may be possible to simplify the entry
*/
vm_map_simplify_entry(map, new_entry);
+#endif
if (cow & (MAP_PREFAULT|MAP_PREFAULT_PARTIAL)) {
pmap_object_init_pt(map->pmap, start,