svn commit: r267650 - head/sys/vm
Alan Cox
alc at FreeBSD.org
Thu Jun 19 21:05:08 UTC 2014
Author: alc
Date: Thu Jun 19 21:05:07 2014
New Revision: 267650
URL: http://svnweb.freebsd.org/changeset/base/267650
Log:
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
Modified:
head/sys/vm/vm_map.c
Modified: head/sys/vm/vm_map.c
==============================================================================
--- head/sys/vm/vm_map.c Thu Jun 19 20:12:28 2014 (r267649)
+++ head/sys/vm/vm_map.c Thu Jun 19 21:05:07 2014 (r267650)
@@ -3730,9 +3730,6 @@ Retry:
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;
}
More information about the svn-src-all
mailing list