diff options
-rw-r--r-- | sys/vm/vm_map.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index cf2c96f9ab73..4c3448c358da 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -4265,6 +4265,7 @@ vmspace_fork(struct vmspace *vm1, vm_ooffset_t *fork_charge) vm2->vm_taddr = vm1->vm_taddr; vm2->vm_daddr = vm1->vm_daddr; vm2->vm_maxsaddr = vm1->vm_maxsaddr; + vm2->vm_stacktop = vm1->vm_stacktop; vm_map_lock(old_map); if (old_map->busy) vm_map_wait_busy(old_map); |