[RFC PATCH 0/3] Add support for compound page migration in mm_iommu_get
Aneesh Kumar K.V
aneesh.kumar at linux.ibm.com
Tue Sep 4 02:37:30 AEST 2018
This patch series add support for migrating compound pages if we find them in the
CMA area before taking long term page reference for VFIO.
Testing:
* TODO: test with hugetlb backed guest ram.
* Testing done with a code change as below
- if (is_migrate_cma_page(pages[i]) && migrate_allow) {
+ if (migrate_allow) {
...
+ migrate_allow = false;
Aneesh Kumar K.V (3):
mm: Export alloc_migrate_huge_page
powerpc/mm/iommu: Allow large IOMMU page size only for hugetlb backing
powerpc/mm/iommu: Allow migration of cma allocated pages during
mm_iommu_get
arch/powerpc/mm/mmu_context_iommu.c | 209 +++++++++++++++++-----------
include/linux/hugetlb.h | 2 +
mm/hugetlb.c | 4 +-
3 files changed, 128 insertions(+), 87 deletions(-)
--
2.17.1
More information about the Linuxppc-dev
mailing list