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);?
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
---
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
---
arch/arm/kvm/mmu.c | 33 +++--
1 file changed, 31 insertions(+), 2