Page MenuHomeFreeBSD

arm64: Add a VM_FREELIST_DMA32 freelist
ClosedPublic

Authored by markj on Jan 18 2024, 7:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 24, 12:28 AM
Unknown Object (File)
Sun, Jun 21, 4:16 PM
Unknown Object (File)
May 23 2026, 11:13 PM
Unknown Object (File)
May 18 2026, 4:13 PM
Unknown Object (File)
May 18 2026, 6:36 AM
Unknown Object (File)
May 3 2026, 6:46 PM
Unknown Object (File)
Apr 27 2026, 11:05 PM
Unknown Object (File)
Apr 27 2026, 11:01 PM
Subscribers

Details

Summary

When booting a KMSAN kernel on an Ampere Altra, I've seen some boot time
hangs when the XHCI controller driver attempts to allocate memory for
32-bit DMA. The system boots fine with a GENERIC kernel; I believe that
the additional memory requirements of KMSAN push it over the edge. The
system has a bit less than 2GB of RAM below the 4GB boundary.

Allocate a new freelist to segregate memory below 4GB, as we do on
amd64.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable