Messages in this thread | | | Date | Tue, 4 Dec 2007 03:26:20 -0800 | From | Andrew Morton <> | Subject | Re: [patch] rd: support XIP |
| |
On Tue, 4 Dec 2007 12:21:00 +0100 Nick Piggin <npiggin@suse.de> wrote:
> + * > + * Cannot support XIP and highmem, because our ->direct_access > + * routine for XIP must return memory that is always addressable. > + * If XIP was reworked to use pfns and kmap throughout, this > + * restriction might be able to be lifted. > */ > + gfp_flags = GFP_NOIO | __GFP_ZERO; > +#ifndef CONFIG_BLK_DEV_XIP > + gfp_flags |= __GFP_HIGHMEM; > +#endif
A dubious tradeoff?
| |