summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/vm/vm_map.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index eb71046..0712446 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -2801,6 +2801,7 @@ Retry:
map->size += (addr - stack_entry->end);
/* Update the current entry. */
stack_entry->end = addr;
+ stack_entry->avail_ssize -= grow_amount;
rv = KERN_SUCCESS;
if (next_entry != &map->header)
OpenPOWER on IntegriCloud