Page MenuHomeFreeBSD

amd64: Zero the PML5 PTI page when initializing a pmap
ClosedPublic

Authored by markj on Oct 16 2021, 9:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 20, 3:49 AM
Unknown Object (File)
Sun, Jul 19, 5:44 AM
Unknown Object (File)
Sat, Jul 18, 4:35 PM
Unknown Object (File)
Thu, Jul 9, 4:01 AM
Unknown Object (File)
Mon, Jul 6, 11:40 PM
Unknown Object (File)
May 4 2026, 4:38 PM
Unknown Object (File)
May 4 2026, 2:38 AM
Unknown Object (File)
Apr 30 2026, 8:10 AM
Subscribers

Details

Summary

The root page is not zeroed at allocation time since with 4-level tables
each entry is copied from a template. However, with 5-level tables only
a single entry is filled, so the rest need to be cleared.

Reported by: alc

Diff Detail

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