This patch adds a new internal flag and routine to vm_map_wire designed to quickly wire a large virtual address range.
Currently, vm_map_wire uses vm_fault to allocate and map one 0-order page at a time.
The routine tries to speed up that process by preallocating and inserting (super)pages into an entry's object in order to avoid the excessive overhead of vm_fault's slow path.
This change is mostly aimed at speeding up guest memory wiring in hypervisors.
This work was sponsored by the Google Summer of Code '23 program.