Update avail_ssize for rstacks after growing them.
This commit is contained in:
parent
afdc68c42f
commit
199c91ab79
@ -2801,6 +2801,7 @@ Retry:
|
|||||||
map->size += (addr - stack_entry->end);
|
map->size += (addr - stack_entry->end);
|
||||||
/* Update the current entry. */
|
/* Update the current entry. */
|
||||||
stack_entry->end = addr;
|
stack_entry->end = addr;
|
||||||
|
stack_entry->avail_ssize -= grow_amount;
|
||||||
rv = KERN_SUCCESS;
|
rv = KERN_SUCCESS;
|
||||||
|
|
||||||
if (next_entry != &map->header)
|
if (next_entry != &map->header)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user