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
F171075382: D21097.id60223.diff
Tue, Sep 8, 1:34 PM
Unknown Object (File)
Sun, Sep 6, 1:11 PM
Unknown Object (File)
Sat, Sep 5, 4:26 PM
Unknown Object (File)
Sat, Sep 5, 3:03 PM
Unknown Object (File)
Sat, Sep 5, 5:55 AM
Unknown Object (File)
Fri, Sep 4, 5:01 PM
Unknown Object (File)
Thu, Sep 3, 5:27 PM
Unknown Object (File)
Wed, Sep 2, 2:52 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".