[Lguest] [PATCH 1/2] Export get_user_pages_fast

Nick Piggin nickpiggin at yahoo.com.au
Wed Jul 30 15:23:03 EST 2008


On Wednesday 30 July 2008 14:38, Rusty Russell wrote:
> After all, it was made for lguest wasn't it?

Right, I'd been using direct-IO to iron out all the bugs before
I consider it fit for use by lguest. Given that it doesn't
appear to have corrupted any disks yet, and no longer oopses...

Acked-by: Nick Piggin <npiggin at suse.de>


> Still think it should be 
> called get_current_pages() though.

We have to have some comical way to solve these disagreements,
preferably with the loser being publically humiliated. Hmm...


> Signed-off-by: Rusty Russell <rusty at rustcorp.com.au>
> ---
>  arch/x86/mm/gup.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff -r cb465381f6d5 arch/x86/mm/gup.c
> --- a/arch/x86/mm/gup.c	Wed Jul 30 10:18:44 2008 +1000
> +++ b/arch/x86/mm/gup.c	Wed Jul 30 14:22:53 2008 +1000
> @@ -8,6 +8,7 @@
>  #include <linux/mm.h>
>  #include <linux/vmstat.h>
>  #include <linux/highmem.h>
> +#include <linux/module.h>
>
>  #include <asm/pgtable.h>
>
> @@ -296,3 +303,4 @@ slow_irqon:
>  		return ret;
>  	}
>  }
> +EXPORT_SYMBOL_GPL(get_user_pages_fast);



More information about the Lguest mailing list