HomeFreeBSD

In the past four years, we've added two new vm object types. Each time,
rS244043Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

In the past four years, we've added two new vm object types. Each time,
similar changes had to be made in various places throughout the machine-
independent virtual memory layer to support the new vm object type.
However, in most of these places, it's actually not the type of the vm
object that matters to us but instead certain attributes of its pages.
For example, OBJT_DEVICE, OBJT_MGTDEVICE, and OBJT_SG objects contain
fictitious pages. In other words, in most of these places, we were
testing the vm object's type to determine if it contained fictitious (or
unmanaged) pages.

To both simplify the code in these places and make the addition of future
vm object types easier, this change introduces two new vm object flags
that describe attributes of the vm object's pages, specifically, whether
they are fictitious or unmanaged.

Reviewed and tested by: kib

Details

Provenance
alcAuthored on
Parents
rS244042: Move the NFSv4.1 client patches over from projects/nfsv4.1-client
Branches
Unknown
Tags
Unknown

Event Timeline