[PATCH 3/5] mmu_notifier: pass through vma to invalidate_range and invalidate_page

2014-06-13 Thread Jérôme Glisse
From: Jérôme Glisse New user of the mmu_notifier interface need to lookup vma in order to perform the invalidation operation. Instead of redoing a vma lookup inside the callback just pass through the vma from the call site where it is already available. This needs small refactoring in memory.c t

[PATCH 3/5] mmu_notifier: pass through vma to invalidate_range and invalidate_page

2014-06-12 Thread j . glisse
From: Jérôme Glisse New user of the mmu_notifier interface need to lookup vma in order to perform the invalidation operation. Instead of redoing a vma lookup inside the callback just pass through the vma from the call site where it is already available. This needs small refactoring in memory.c t