Cc: Andrea Arcangeli <andrea@...>, Nick Piggin <npiggin@...>, Peter Zijlstra <a.p.zijlstra@...>, <linux-mm@...>, Benjamin Herrenschmidt <benh@...>, <steiner@...>, <linux-kernel@...>, Avi Kivity <avi@...>, <kvm-devel@...>, <daniel.blueman@...>, Robin Holt <holt@...>, Hugh Dickins <hugh@...>
> Well the GRU uses follow_page() instead of get_user_pages. Performance is
Worse, the GRU takes its TLB faults from within an interrupt so we
use follow_page to prevent going to sleep. That said, I think we
could probably use follow_page() with FOLL_GET set to accomplish the
requirements of mmu_notifier invalidate_range call. Doesn't look too
promising for hugetlb pages.
Thanks,
Robin
--