vm_map_simplify_entry9
Simplify a vm_map_entry
Usage
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_map.h>
void
vm_map_simplify_entry(vm_map_t map, vm_map_entry_t entry);
Overview
The vm_map_simplify_entry() function simplifies the given entry by merging with either neighbour. The map must be locked upon entry.
This function also has the ability to merge with both neighbours.
This function guarantees that the passed entry remains valid, although possibly extended.