Page MenuHomeFreeBSD

linuxkpi: Move LINUXKPI_PROT_VALID higher
Needs ReviewPublic

Authored by andrew on Wed, Jul 1, 10:10 AM.

Details

Reviewers
None
Group Reviewers
arm64
linuxkpi
Summary

Move LINUXKPI_PROT_VALID and LINUXKPI_CACHE_MODE_SHIFT out of the
bottom 8 bits. This allows the entire vm_prot_t to be stored in the
LinuxKPI pgprot_t.

This will be needed when we add more flags to vm_prot_t, e.g. for MTE
on arm64.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74453
Build 71336: arc lint + arc unit