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
99cbdc45aa
commit
3a48424552
@ -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