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
F87785374: D32525.id97058.diff
Sun, Jul 7, 5:57 PM
F87784054: D32525.id96964.diff
Sun, Jul 7, 5:32 PM
Unknown Object (File)
Fri, Jul 5, 12:12 AM
Unknown Object (File)
Thu, Jun 20, 10:04 PM
Unknown Object (File)
May 2 2024, 2:00 PM
Unknown Object (File)
May 2 2024, 2:00 PM
Unknown Object (File)
May 2 2024, 10:46 AM
Unknown Object (File)
May 2 2024, 8:44 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