Structure - Specifies memory object's behavior attributes.
typedef struct memory_object_attr_info* memory_object_attr_info_t;
How the kernel should handle copying of regions associated with the
memory object. The copy strategy cannot be changed once an object is
initialized. Valid values are:
Use normal procedure when copying the memory object's
data. Normally, the kernel requests each page with read
access, copies the data, and then (optionally) flushes the data.
Call the memory manager when a copy operation is necessary.
Use copy-on-write technique. This strategy allows the kernel
to efficiently copy large amounts of data and guarantees that
the memory manager will not externally modify the data. It is
the most commonly used copy strategy.
All changes are made in memory and the memory manager does not need
to see them.
The memory manager does not change the data, does not need to see
any changes to the data, and will prevent the object from being
mapped more than once. Currently, this strategy should be restricted
to use by the kernel.
The memory object's perferred cluster size (in bytes). This value may affect
the number of pages transferred in a given paging operation.
Cache indicator. If true, the kernel can cache data associated with the
memory object (keep the memory object active) even if no virtual
memory references to it remain.
If TRUE, when the last mapping to the object is released,
the kernel destroys the object without returning any resident pages.
The memory_object_attr_info structure defines behavior and
performance relevant memory object attributes.