HomeFreeBSD

Call pmap_copy() only for map entries which have the backing object

Description

Call pmap_copy() only for map entries which have the backing object
instantiated.

Calling pmap_copy() on non-faulted anonymous memory entries is useless.

Noted and reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS320201: Assert that the protection of a new map entry is a subset of the max
Branches
Unknown
Tags
Unknown