lkml.org 
[lkml]   [2007]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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?


\
 
 \ /
  Last update: 2007-12-04 12:29    [W:0.061 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site