Page MenuHomeFreeBSD

Have pmap_fault() return success on a PF if the mapping is dirty.
ClosedPublic

Authored by markj on Jul 29 2019, 2:08 AM.
Tags
None
Referenced Files
F147318365: D21097.id60257.diff
Mon, Mar 9, 10:29 PM
F147304736: D21097.diff
Mon, Mar 9, 7:57 PM
Unknown Object (File)
Thu, Feb 26, 9:07 PM
Unknown Object (File)
Thu, Feb 26, 5:50 PM
Unknown Object (File)
Jan 14 2026, 10:54 PM
Unknown Object (File)
Dec 27 2025, 2:19 PM
Unknown Object (File)
Dec 25 2025, 12:18 PM
Unknown Object (File)
Dec 23 2025, 2:43 PM
Subscribers

Details

Test Plan

I added a printf to see if the new case is exercised; during a buildkernel,
ld.lld incurs roughly 150 permission faults on a dirty page.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25558
Build 24166: arc lint + arc unit

Event Timeline

markj added reviewers: alc, andrew.

I added a printf to see if the new case is exercised; during a buildkernel,
ld.lld incurs roughly 150 permission faults on a dirty page.

That's more than I would have guessed.

This revision is now accepted and ready to land.Jul 29 2019, 2:59 AM
sys/arm64/arm64/pmap.c
5793

Btw, the trunc_page() here is redundant. You can simply pass "far".