Page MenuHomeFreeBSD

i386 pmap: catch up with amd64 superpage improvements
ClosedPublic

Authored by alc on Sep 22 2023, 6:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 3:37 PM
Unknown Object (File)
Mon, Nov 24, 5:51 AM
Unknown Object (File)
Mon, Nov 24, 5:45 AM
Unknown Object (File)
Mon, Nov 24, 5:40 AM
Unknown Object (File)
Mon, Nov 24, 5:37 AM
Unknown Object (File)
Mon, Nov 24, 5:37 AM
Unknown Object (File)
Mon, Nov 24, 5:34 AM
Unknown Object (File)
Thu, Nov 20, 10:24 PM
Subscribers

Details

Summary

Merges: (in reverse chronological order)

pmap: don't recompute mpte during promotion

pmap: optimize MADV_WILLNEED on existing superpages

pmap: standardize promotion conditions between amd64 and arm64

amd64/arm64 pmap: Stop requiring the accessed bit for superpage promotion

amd64 pmap: Tidy up pmap_promote_pde() calls

Retire PMAP_INLINE. It's unused.

Test Plan

Completes a "buildworld" in a bhyve VM with 4 cores and 8 GB memory.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

alc requested review of this revision.Sep 22 2023, 6:35 PM
alc created this revision.
alc edited the summary of this revision. (Show Details)

Add:

pmap: optimize MADV_WILLNEED on existing superpages

alc edited the summary of this revision. (Show Details)
alc edited the test plan for this revision. (Show Details)

Add:

Retire PMAP_INLINE. It's unused.

Pity that this work appeared needed.

This revision is now accepted and ready to land.Sep 25 2023, 10:10 AM