Re: [PATCH 1/2] Export get_user_pages_fast

From: Avi Kivity
Date: Wed Jul 30 2008 - 13:23:20 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/