On Fri, Jun 27, 2014 at 7:00 PM, Jérôme Glisse <j.gli...@gmail.com> 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/