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, Nov 24, 7:30 AM
Unknown Object (File)
Fri, Nov 22, 4:27 PM
Unknown Object (File)
Fri, Nov 22, 11:16 AM
Unknown Object (File)
Sat, Nov 16, 12:52 AM
Unknown Object (File)
Thu, Nov 14, 7:34 AM
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
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