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:
Alan Cox 2014-06-19 21:05:07 +00:00
parent a589e596c0
commit 39c18ce157
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267650

View File

@ -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;
}