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
Unknown Object (File)
Wed, Nov 5, 9:03 AM
Unknown Object (File)
Tue, Nov 4, 4:13 AM
Unknown Object (File)
Sun, Nov 2, 5:49 AM
Unknown Object (File)
Sat, Nov 1, 12:17 AM
Unknown Object (File)
Fri, Oct 31, 1:39 AM
Unknown Object (File)
Sat, Oct 25, 4:08 AM
Unknown Object (File)
Thu, Oct 16, 10:31 PM
Unknown Object (File)
Thu, Oct 16, 10:31 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".