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)
Fri, Oct 17, 9:58 PM
Unknown Object (File)
Mon, Oct 13, 12:03 PM
Unknown Object (File)
Mon, Oct 13, 12:03 PM
Unknown Object (File)
Mon, Oct 13, 12:03 PM
Unknown Object (File)
Sun, Oct 12, 11:23 PM
Unknown Object (File)
Sep 10 2025, 7:48 AM
Unknown Object (File)
Sep 8 2025, 4:34 AM
Unknown Object (File)
Sep 8 2025, 1:55 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