HMM Anonymous Memory Migration In The Works For Linux

Written by Michael Larabel in Linux Kernel on 13 August 2015 at 08:31 PM EDT. 2 Comments
Jerome Glisse at Red Hat continues to working on his patches for Heterogeneous Memory Management (HMM) for the Linux kernel.

Heterogeneous Memory Management is a long in-development big kernel feature. "HMM serves as a kernel subsystem to provide an easy-to-use API for mirroring a process address on a device with minimal hardware requirements. Jerome explains, 'It intends to supersede [the ATS and PASID PCI-E] extensions by allowing to move system memory to device memory in a transparent fashion for core kernel [memory management] code (i.e. cpu page fault on page residing in device memory will trigger migration back to system memory).'"

HMM has gone through many revisions so far and still not accepted (or proposed for that matter) for the mainline Linux kernel. The newest HMM addition is anonymous memory migration support.

Jerome Glisse explained as part of the new patches today, "It allows to migrate anonymous memory seamlessly to device
memory and to have migration back to system memory if CPU try to access migrated memory."

Jerome explains more details on the HMM anonymous memory migration via this patch series. He also posted HMM v10 as the newest patches for this new kernel subsystem.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week