From 3b687e65750ed4e689dbfe35d1267ffffc702907 Mon Sep 17 00:00:00 2001 From: dillon Date: Wed, 14 Mar 2001 06:09:42 +0000 Subject: Temporarily remove the vm_map_simplify() call from vm_map_insert(). The call is correct, but it interferes with the massive hack called vm_map_growstack(). The call will be returned after our stack handling code is fixed. Reported by: tegge --- sys/vm/vm_map.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sys/vm') diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index e2e9f47..2b57b9d 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -563,10 +563,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, -- cgit v1.1