Re: [kvm-devel] [patch 2/6] mmu_notifier: Callbacks to invalidateaddress ranges

From: Robin Holt
Date: Wed Jan 30 2008 - 21:35:37 EST


> Well the GRU uses follow_page() instead of get_user_pages. Performance is
> a major issue for the GRU.

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
--
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/