Heterogeneous Memory Management Is Maturing, AMDGPU Support Coming

Red Hat's Jerome Glisse who has been the mastermind behind of Heterogeneous Memory Management presented at this week's X.Org Developers' Conference (XDC2018) about this work. For those interested, the slides are now available here (PDF) that go over HMM.
Some recent HMM improvements being worked on include generic page write protection, seamless peer-to-peer for device memory, integration with DMA/IOMMU, and other additions.
There have been out-of-tree Nouveau patches worked on for HMM, but not to much use given the current state of Nouveau compute and performance potential. But it is exciting that in recent weeks that the AMDGPU support is coming along. There have been various patches this month pertaining to hooking up different HMM bits for the AMDGPU kernel driver. And the recent Vega 10 IH rings patches are also related to this HMM upbringing. That upbringing isn't happening for Linux 4.20 but maybe we'll see it by Linux ~5.1.
Hopefully in 2019 we'll finally see more usage out of HMM.
5 Comments