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)
Sat, Sep 13, 12:20 PM
Unknown Object (File)
Wed, Sep 10, 10:35 AM
Unknown Object (File)
Aug 16 2025, 4:15 PM
Unknown Object (File)
Aug 13 2025, 6:25 PM
Unknown Object (File)
Aug 3 2025, 12:21 AM
Unknown Object (File)
Jul 16 2025, 9:59 AM
Unknown Object (File)
Jun 28 2025, 2:48 AM
Unknown Object (File)
Jun 23 2025, 11:17 AM
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".