Page MenuHomeFreeBSD

Only demote when needed in the arm64 pmap_change_props_locked
ClosedPublic

Authored by andrew on Oct 6 2021, 4:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 27 2025, 12:00 AM
Unknown Object (File)
Nov 23 2025, 8:47 PM
Unknown Object (File)
Nov 15 2025, 5:55 AM
Unknown Object (File)
Nov 9 2025, 5:00 AM
Unknown Object (File)
Oct 17 2025, 10:25 PM
Unknown Object (File)
Oct 17 2025, 12:58 PM
Unknown Object (File)
Oct 16 2025, 1:24 AM
Unknown Object (File)
Oct 14 2025, 8:04 PM
Subscribers

Details

Summary

When changing page table properties there is no need to demote a
level 1 or level 2 block if we are changing the entire memory range the
block is mapping. In this case just change the block directly.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42000
Build 38888: arc lint + arc unit

Event Timeline

andrew requested review of this revision.Oct 6 2021, 4:46 PM
sys/arm64/arm64/pmap.c
6113

L3_SIZE -> pte_size?

Fix the size in cpu_dcache_wbinv_range

markj added inline comments.
sys/arm64/arm64/pmap.c
6072

We should have an explicit /* FALLTHROUGH */ annotation here and below.

This revision is now accepted and ready to land.Oct 7 2021, 4:09 PM