Skip to the content.

HMM

mm/migrate_device.c

通过测试看看: https://lore.kernel.org/all/20200422195028.3684-3-rcampbell@nvidia.com/

mm/hmm.c lib/test_hmm.c tools/testing/selftests/mm/hmm-tests.c

TODO ZONE_DEVICE 和 HMM 是什么关系

CONFIG_ZONE_DEVICE=y
CONFIG_DEVICE_MIGRATION=y
CONFIG_GET_FREE_REGION=y
CONFIG_DEVICE_PRIVATE=y
CONFIG_TEST_HMM=m
CONFIG_ND_PFN=m
CONFIG_NVDIMM_PFN=y
CONFIG_NVDIMM_DAX=y

是不是 hmm 也可以处理 nvdimm 的?

hmm

Provide infrastructure and helpers to integrate non-conventional memory (device memory like GPU on board memory) into regular kernel path, with the cornerstone of this being specialized struct page for such memory. HMM also provides optional helpers for SVM (Share Virtual Memory) [^19]

https://www.kernel.org/doc/html/latest/mm/hmm.html

mm/hmm.c 和 memory tier 有关系吗?

https://developer.nvidia.com/blog/simplifying-gpu-application-development-with-heterogeneous-memory-management/

这是一个东西吗?

https://tallendev.github.io/assets/papers/sc21.pdf

hmm 的用户都是谁啊

看看那个环境是支持这个的

  1. 检查 NVMe 是否支持 CMB(Controller Memory Buffer) nvme id-ctrl /dev/nvme0n1 | grep -i cmb nvme id-ctrl /dev/nvme1n1 | grep -i cmb nvme id-ctrl /dev/nvme2n1 | grep -i cmb 作用:CMB 是 NVMe 参与 P2PDMA 的关键硬件能力之一。 结果:三块 NVMe 都没有 CMB 信息。

Documentation/translations/zh_CN/mm/hmm.rst

本站所有文章转发 CSDN 将按侵权追究法律责任,其它情况随意。