[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4890A375.4060103@qumranet.com>
Date: Wed, 30 Jul 2008 20:23:01 +0300
From: Avi Kivity <avi@...ranet.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Adrian Bunk <bunk@...nel.org>,
Rusty Russell <rusty@...tcorp.com.au>,
lguest <lguest@...abs.org>, linux-kernel@...r.kernel.org,
Nick Piggin <nickpiggin@...oo.com.au>
Subject: Re: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists