Re: [PATCH] Re: More than 2Gb problem (dvb related) ?

From: Gregoire Favre
Date: Wed May 02 2007 - 08:18:28 EST


On Wed, May 02, 2007 at 11:35:32AM +0200, Andi Kleen wrote:

> Does this patch help?

So far so good :-)

Thank you very much.

> Index: linux/mm/vmalloc.c
> ===================================================================
> --- linux.orig/mm/vmalloc.c
> +++ linux/mm/vmalloc.c
> @@ -431,7 +431,7 @@ void *__vmalloc_area_node(struct vm_stru
> area->flags |= VM_VPAGES;
> } else {
> pages = kmalloc_node(array_size,
> - (gfp_mask & ~(__GFP_HIGHMEM | __GFP_ZERO)),
> + (gfp_mask & GFP_LEVEL_MASK),
> node);
> }
> area->pages = pages;
--
Grégoire FAVRE http://gregoire.favre.googlepages.com http://www.gnupg.org
http://picasaweb.google.com/Gregoire.Favre
-
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/