pmap_demote_l1() and pmap_demote_l2_locked() return the virtual address of the page table page that replaces the demoted superpage mapping. In pmap_advise(), pmap_change_props_locked(), and pmap_clear_modify() use that address instead of rewalking the page table from the L1 or L2 entry. Similarly, after pmap_advise() demotes an L3C superpage, compute the virtual address of the L3 entry that it removes from the virtual address of the current L3 entry.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped