[Lguest] [PATCH 1/2] Export get_user_pages_fast

Avi Kivity avi at qumranet.com
Thu Jul 31 03:23:01 EST 2008


Andrew Morton wrote:
>> o other arch 
>> would define CONFIG_HAVE_GET_USER_PAGES_FAST.
>>
>>     
>
> That's presently true in Linus mainline.  The powerpc implementation is
> in -mm, but apprarently needs a bit more work.

Wouldn't a generic get_user_pages_fast() implementation which calls 
get_user_pages_slow() if the arch hadn't implemented the former reduce a 
lot of #ifdefs in call sites?

-- 
error compiling committee.c: too many arguments to function




More information about the Lguest mailing list