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)
Wed, Jan 29, 6:08 PM
Unknown Object (File)
Dec 5 2024, 8:35 AM
Unknown Object (File)
Dec 5 2024, 8:35 AM
Unknown Object (File)
Dec 4 2024, 10:03 PM
Unknown Object (File)
Dec 4 2024, 9:50 PM
Unknown Object (File)
Nov 30 2024, 6:05 PM
Unknown Object (File)
Nov 29 2024, 10:46 AM
Unknown Object (File)
Nov 28 2024, 3:15 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