[PATCH 09/15] HMM: add mm page table iterator helpers.

2015-08-13 Thread Jérôme Glisse
Because inside the mmu_notifier callback we do not have access to the vma nor do we know which lock we are holding (the mmap semaphore or the i_mmap_lock) we can not rely on the regular page table walk (nor do we want as we have to be carefull to not split huge page). So this patch introduce an he

[PATCH 09/15] HMM: add mm page table iterator helpers.

2015-07-17 Thread Jérôme Glisse
Because inside the mmu_notifier callback we do not have access to the vma nor do we know which lock we are holding (the mmap semaphore or the i_mmap_lock) we can not rely on the regular page table walk (nor do we want as we have to be carefull to not split huge page). So this patch introduce an he