HomeFreeBSD

Set PG_G global mapping bit on the trampoline ptes.

Description

Set PG_G global mapping bit on the trampoline ptes.

Trampoline mappings are better treated as global since they are valid
in all address spaces, even for PTI. pmap_invalidate_range() must work
on global mappings for pti since kernel_pmap invalidations are really
same as for non-PTI.

Reviewed by: alc, markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 month
Differential revision: https://reviews.freebsd.org/D15052

Details

Provenance
kibAuthored on
Reviewer
alc
Differential Revision
D15052: Set PG_G global mapping bit on the trampoline mappings.
Parents
rS332503: Revert r332501 for now, as it can cause build failures on i386.
Branches
Unknown
Tags
Unknown