diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1999-01-31 14:09:25 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1999-01-31 14:09:25 +0000 |
| commit | 287457c2e71b5e3cb4fd2b85071e8707ab5c648b (patch) | |
| tree | 55bbfb2e93365749dd21e85f61781dab240d1f9f /sys/vm/vm_map.c | |
| parent | d7e4346624549be0abb838387e99e14cb2121349 (diff) | |
Notes
Diffstat (limited to 'sys/vm/vm_map.c')
| -rw-r--r-- | sys/vm/vm_map.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 7e5bc83e7b25..7bf769617683 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_map.c,v 1.143 1999/01/26 02:49:52 julian Exp $ + * $Id: vm_map.c,v 1.144 1999/01/28 00:57:57 dillon Exp $ */ /* @@ -771,8 +771,9 @@ vm_map_growstack (struct proc *p, vm_offset_t addr) new_stack_entry->avail_ssize = stack_entry->avail_ssize - (new_stack_entry->end - new_stack_entry->start); - vm->vm_ssize += new_stack_entry->end - - new_stack_entry->start; + if (is_procstack) + vm->vm_ssize += new_stack_entry->end - + new_stack_entry->start; } } |
