Page MenuHomeFreeBSD

linuxkpi: Move LINUXKPI_PROT_VALID higher
Needs ReviewPublic

Authored by andrew on Jul 1 2026, 10:10 AM.
Tags
None
Referenced Files
F166354516: D57991.diff
Thu, Aug 13, 2:16 AM
F166342553: D57991.id181163.diff
Thu, Aug 13, 12:42 AM
F166342552: D57991.id.diff
Thu, Aug 13, 12:42 AM
F166342523: D57991.diff
Thu, Aug 13, 12:42 AM
Unknown Object (File)
Mon, Aug 10, 1:36 PM
Unknown Object (File)
Sat, Aug 8, 11:53 AM
Unknown Object (File)
Sat, Aug 8, 9:23 AM
Unknown Object (File)
Sat, Aug 8, 6:37 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