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)
Tue, May 13, 6:36 PM
Unknown Object (File)
Mon, May 12, 12:54 AM
Unknown Object (File)
Sun, May 11, 12:55 AM
Unknown Object (File)
Tue, May 6, 10:11 PM
Unknown Object (File)
Sun, May 4, 9:02 AM
Unknown Object (File)
Sat, May 3, 4:39 AM
Unknown Object (File)
Wed, Apr 23, 5:42 PM
Unknown Object (File)
Tue, Apr 22, 9:31 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