HomeFreeBSD

Use pmap_update_entry in pmap_enter when updating an entry with a new

Description

Use pmap_update_entry in pmap_enter when updating an entry with a new
physical address. This is required when either mapping is writeable.

While here remove an unneeded call to pmap_pde, we already have the pde
from earlier in the function.

Obtained from: ABT Systems Ltd
MFC after: 1 month
Sponsored by: The FreeBSD Foundation

Details

Provenance
andrewAuthored on
Parents
rS304599: Add sysctls to report on superpages statistics. While here add extra
Branches
Unknown
Tags
Unknown