HomeFreeBSD

amd64 pmap: Fix pkru handling in pmap_remove().

Description

amd64 pmap: Fix pkru handling in pmap_remove().

When pmap_pkru_on_remove() is called, the sva argument value was
advanced. Clear PKRU earlier when sva still specifies the start of
the region.

Noted and reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Details

Provenance
kibAuthored on
Parents
rS349426: Fix debugging of 32bits arm binaries on arm64.
Branches
Unknown
Tags
Unknown