HomeFreeBSD

Three changes to vm_phys_alloc_seg_contig():

Description

Three changes to vm_phys_alloc_seg_contig():

  1. Optimize the order computation.
  1. Update the pool for all of the chunks that are removed from the free page lists, and not just the first chunk.
  1. Simplify the code for returning excess pages to the free page lists.

Reviewed by: Doug Moore <dougm@rice.edu>

Details

Provenance
alcAuthored on
Parents
rS335789: Fix a bug that was introduced by the recent addition of the "#<mds-path"
Branches
Unknown
Tags
Unknown