HomeFreeBSD

The means of finding ranges of free pages was changed for

Description

The means of finding ranges of free pages was changed for
vm_reserv_break in r348484, and there was found to improve performance
minutely and reduce code size. This change applies a similar change to
vm_reserv_reclaim_config, expecting similar benefits. This change also
allows quick rejection of page ranges that are unsuitable on account
of alignment or boundary issues, where those issues are processed a
page at a time in the current implementation. For contrived test
cases, this can make finding a reservation satisfying a major
alignment requirement around 30 times faster.

Tested by: pho
Approved by: markj (mentor)
Differential Revision: https://reviews.freebsd.org/D20274

Details

Provenance
dougmAuthored on
Differential Revision
D20274: Simpllfy vm_reserv_reclaim_config
Parents
rS348748: loader: disk_open() should honor D_PARTNONE
Branches
Unknown
Tags
Unknown