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, Nov 13, 1:30 AM
Unknown Object (File)
Mon, Nov 11, 10:16 PM
Unknown Object (File)
Mon, Nov 4, 11:31 AM
Unknown Object (File)
Thu, Oct 31, 11:24 AM
Unknown Object (File)
Wed, Oct 16, 6:22 PM
Unknown Object (File)
Wed, Oct 16, 8:55 AM
Unknown Object (File)
Tue, Oct 15, 9:08 AM
Unknown Object (File)
Oct 14 2024, 8:17 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