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)
Sun, Feb 8, 1:34 AM
Unknown Object (File)
Sat, Feb 7, 9:33 PM
Unknown Object (File)
Fri, Jan 30, 9:19 PM
Unknown Object (File)
Dec 23 2025, 5:01 AM
Unknown Object (File)
Dec 1 2025, 10:01 PM
Unknown Object (File)
Nov 23 2025, 8:22 AM
Unknown Object (File)
Nov 22 2025, 7:13 PM
Unknown Object (File)
Oct 24 2025, 7:37 PM
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