Memory descriptors for DEVICE_PRIVATE memory
summary
Proposal to remove struct pages for DEVICE_PRIVATE/ZONE_DEVICE memory and replace PFNs with an index into a preallocated descriptor array accessed via a soft-leaf swap entry lookup. Claims: eliminates PFN-to-page special cases, cuts huge struct page allocation time (an 80 GB init took ~30s), and avoids stealing direct-map physical address space that breaks ARM64. Recent tooling: support for 2MB THP merged and refcount fixes. Expect smaller per-object metadata, single-mapping-only descriptors, and dynamic folios or plain descriptors instead of real struct pages.
AI-written summary · about
