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
F132435965: D21097.id60223.diff
Thu, Oct 16, 10:31 PM
F132435961: D21097.id.diff
Thu, Oct 16, 10:31 PM
F132435957: D21097.id60257.diff
Thu, Oct 16, 10:31 PM
F132396095: D21097.diff
Thu, Oct 16, 1:47 PM
Unknown Object (File)
Tue, Oct 7, 10:00 PM
Unknown Object (File)
Fri, Sep 26, 12:14 PM
Unknown Object (File)
Fri, Sep 26, 9:47 AM
Unknown Object (File)
Sun, Sep 21, 2:23 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #60223)

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