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
F83662372: D32339.id96659.diff
Mon, May 13, 6:56 AM
Unknown Object (File)
Sun, May 12, 3:29 AM
Unknown Object (File)
Sat, May 11, 4:22 PM
Unknown Object (File)
Fri, May 10, 12:18 AM
Unknown Object (File)
Wed, May 1, 1:15 AM
Unknown Object (File)
Sun, Apr 28, 5:30 PM
Unknown Object (File)
Mar 7 2024, 7:41 PM
Unknown Object (File)
Dec 12 2023, 4:45 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

L3_SIZE -> pte_size?

Fix the size in cpu_dcache_wbinv_range

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

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