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 Jun 26 2019, 5:16 PM
Parents
rGb726d74fced4: Fix debugging of 32bits arm binaries on arm64.
Branches
Unknown
Tags
Unknown

Event Timeline