HomeFreeBSD

Recent changes have created, for the first time, physical memory segments

Description

Recent changes have created, for the first time, physical memory segments
that can be coalesced. To be clear, fragmentation of phys_avail[] is not
the cause. This fragmentation of vm_phys_segs[] arises from the "special"
calls to vm_phys_add_seg(), in other words, not those that derive directly
from phys_avail[], but those that we create for the initial kernel page
table pages and now for the kernel and modules loaded at boot time. Since
we sometimes iterate over the physical memory segments, coalescing these
segments at initialization time is a worthwhile change.

Reviewed by: kib, markj
Approved by: re (rgrimes)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D16976

Details

Provenance
alcAuthored on
Reviewer
kib
Differential Revision
D16976: Coalesce physical memory segments
Parents
rS338430: Fix the hash table lookup in fbt_destroy().
Branches
Unknown
Tags
Unknown