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
F169288160: D21097.id60223.diff
Tue, Sep 1, 3:29 AM
F169288060: D21097.id60257.diff
Tue, Sep 1, 3:29 AM
F169160263: D21097.id60257.diff
Mon, Aug 31, 3:27 PM
F169144925: D21097.id.diff
Mon, Aug 31, 2:11 PM
Unknown Object (File)
Sun, Aug 30, 6:01 AM
Unknown Object (File)
Wed, Aug 26, 12:38 PM
Unknown Object (File)
Wed, Aug 26, 4:42 AM
Unknown Object (File)
Tue, Aug 25, 10:21 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".