RE: [PATCH 4/5] add 2nd stage page fault handling during live migration

2014-04-18 Thread Mario Smarduch
Hi Marc, + if (migration_active hugetlb) { + pmd_t *pmd; + pfn += (fault_ipa PAGE_SHIFT) + (PTRS_PER_PMD-1); MZ Shouldn't that be pfn += pte_index(fault_addr);?

Re: [PATCH 4/5] add 2nd stage page fault handling during live migration

2014-04-17 Thread Marc Zyngier
On Thu, Apr 17 2014 at 2:34:39 am BST, Mario Smarduch m.smard...@samsung.com wrote: Additional logic to handle second stage page faults during migration. Primarily page faults are prevented from creating huge pages. Signed-off-by: Mario Smarduch m.smard...@samsung.com ---