CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/04/06 12:27:33

Modified files:
        sys/arch/amd64/amd64: pmap.c 

Log message:
zero direct map pages before populating

Zero the DM PTE/PDE pages before use. Fixes a bug on machines with more than
512GB RAM; those pages might contain previous data/junk and panic during
pmap_randomize.

Tested on various amd64 laptops, an openbsd amd64 vmm VM and an EPYC server
with 1TB RAM.

Fix supplied by Chris Cunningham, thanks!

Reply via email to