Fix mis-merge.
Amusingly, it is nop. Noted by: trasz Sponsored by: The FreeBSD Foundation MFC after: 1 week X-MFC-rev: r345702
This commit is contained in:
parent
38332c70a2
commit
a5a02ef49f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345954
@ -1835,7 +1835,7 @@ vm_map_find(vm_map_t map, vm_object_t object, vm_ooffset_t offset,
|
||||
*addr = vm_map_findspace(map, curr_min_addr,
|
||||
length + gap * pagesizes[pidx]);
|
||||
if (*addr + length + gap * pagesizes[pidx] >
|
||||
+ vm_map_max(map))
|
||||
vm_map_max(map))
|
||||
goto again;
|
||||
/* And randomize the start address. */
|
||||
*addr += (arc4random() % gap) * pagesizes[pidx];
|
||||
|
Loading…
Reference in New Issue
Block a user