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)
Wed, Oct 23, 4:08 PM
Unknown Object (File)
Wed, Oct 23, 4:08 PM
Unknown Object (File)
Wed, Oct 23, 4:08 PM
Unknown Object (File)
Wed, Oct 23, 4:08 PM
Unknown Object (File)
Wed, Oct 23, 4:07 PM
Unknown Object (File)
Wed, Oct 23, 4:04 PM
Unknown Object (File)
Sep 27 2024, 3:33 AM
Unknown Object (File)
Sep 22 2024, 1:06 AM
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