Thread (10 messages) flat view 10 messages, 2 authors, 2018-09-18
STALE2910d

[RFC PATCH 0/3] Add support for compound page migration in mm_iommu_get

From: Aneesh Kumar K.V <hidden>
Date: 2018-09-03 21:01:45

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help