lkml.org 
[lkml]   [2008]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] Export get_user_pages_fast
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



\
 
 \ /
  Last update: 2008-07-30 19:25    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site