Eliminate a pointless call to vm_map_clip_start() from vm_map_growstack().
For this call to do anything at all we would have to have two overlapping map entries. Submitted by: kib
This commit is contained in:
parent
beb0a51a20
commit
2cd5489f2c
@ -3730,9 +3730,6 @@ vm_map_growstack(struct proc *p, vm_offset_t addr)
|
||||
stack_entry->avail_ssize -= grow_amount;
|
||||
vm_map_entry_resize_free(map, stack_entry);
|
||||
rv = KERN_SUCCESS;
|
||||
|
||||
if (next_entry != &map->header)
|
||||
vm_map_clip_start(map, next_entry, addr);
|
||||
} else
|
||||
rv = KERN_FAILURE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user