pmap_addr_hint9
Get a hint for the best-fit mapping of a vm object
Usage
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/pmap.h>
vm_offset_t
pmap_addr_hint(vm_object_t obj, vm_offset_t addr, vm_size_t size);
Overview
The pmap_addr_hint() function returns a hint for the best address at which to map the object obj at address addr of size bytes.
Implementation notes
This function is typically called on behalf of mmap(2).
Return values
If the implementation can use the address unchanged, it will simply return addr.