Heterogeneous Memory Management Is Maturing, AMDGPU Support Coming
Written by Michael Larabel in Linux Kernel on 28 September 2018 at 04:36 AM EDT. 5 Comments
LINUX KERNEL --
For the past four years now we have been monitoring the development of Heterogeneous Memory Management (HMM) for allowing the mirroring of process address spaces and other functionality particularly designed around modern GPU compute needs but also applicable to other devices/drivers. The HMM kernel code was merged to mainline last year while haven't seen much activity by the DRM drivers but that now seems to be changing.

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.

About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Linux Kernel News
Popular News This Week