Page MenuHomeFreeBSD

Disable promotion on pcpu memory on arm64
Needs ReviewPublic

Authored by andrew on Jun 8 2022, 2:05 PM.

Details

Reviewers
kib
markj
alc
manu
Group Reviewers
arm64
Summary

We need to be careful to not promote or demote the memory containing
the per-CPU structures as the exception handlers will dereference it
so any time it's invalid may cause recursive exceptions.

Add a new pmap function to set a flag in the pte marking memory that
cannot be promoted or demoted and use it to mark pcpu memory.

Test Plan

Alternative to D35084

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 45910
Build 42798: arc lint + arc unit