diff options
author | dillon <dillon@FreeBSD.org> | 2001-03-14 06:09:42 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-03-14 06:09:42 +0000 |
commit | 3b687e65750ed4e689dbfe35d1267ffffc702907 (patch) | |
tree | a0c9b3850a80689fdd6becf3f13059e9a3b0213f /sys/vm/vm_map.c | |
parent | 3c831c500f97e076db6a799214d39041d3a1d2b5 (diff) | |
download | FreeBSD-src-3b687e65750ed4e689dbfe35d1267ffffc702907.zip FreeBSD-src-3b687e65750ed4e689dbfe35d1267ffffc702907.tar.gz |
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
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r-- | sys/vm/vm_map.c | 7 |
1 files changed, 7 insertions, 0 deletions
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, |