Re: [PATCH v3 05/12] Export __get_user_pages_fast.

2010-01-17 Thread Christoph Hellwig
On Tue, Jan 05, 2010 at 04:12:47PM +0200, Gleb Natapov wrote: > KVM will use it to try and find a page without falling back to slow > gup. That is why get_user_pages_fast() is not enough. Btw, it seems like currently is declared unconditionally in linux/mm.h but only implemented by x86, and you co

[PATCH v3 05/12] Export __get_user_pages_fast.

2010-01-05 Thread Gleb Natapov
KVM will use it to try and find a page without falling back to slow gup. That is why get_user_pages_fast() is not enough. Signed-off-by: Gleb Natapov --- arch/x86/mm/gup.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/mm/gup.c b/arch/x86/mm/gup.c index 71da1b