Re: [PATCH 4/6] mmu_notifier: pass through vma to invalidate_range and invalidate_page

From: Linus Torvalds
Date: Mon Jun 30 2014 - 22:04:17 EST


On Fri, Jun 27, 2014 at 7:00 PM, JÃrÃme Glisse <j.glisse@xxxxxxxxx> wrote:
>
> This needs small refactoring in memory.c to call invalidate_range on
> vma boundary the overhead should be low enough.

.. and looking at it, doesn't that mean that the whole invalidate call
should be moved inside unmap_single_vma() then, instead of being
duplicated in all the callers?

I really get the feeling that somebody needs to go over this
patch-series with a fine comb to fix these kinds of ugly things.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/