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)
Mon, Dec 9, 9:19 PM
Unknown Object (File)
Oct 26 2024, 4:01 PM
Unknown Object (File)
Oct 18 2024, 6:36 AM
Unknown Object (File)
Oct 17 2024, 3:54 AM
Unknown Object (File)
Sep 28 2024, 10:06 AM
Unknown Object (File)
Sep 4 2024, 7:15 AM
Unknown Object (File)
Jun 22 2024, 5:19 PM
Unknown Object (File)
May 29 2024, 9:10 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

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".