On Wed, Jun 1, 2011 at 5:41 PM, Cyril Hrubis <me...@ucw.cz> wrote:
> Hi!
> The 3.0-rc1 no longer boots on spitz see the attached Oops.
>
> The bisecting pointed to this commit, reverting it machine boots again.
>
> commit a197b59ae6e8bee56fcef37ea2482dc08414e2ac
> Author: David Rientjes <rient...@google.com>
> Date:   Tue May 24 17:12:35 2011 -0700
>
>    mm: fail GFP_DMA allocations when ZONE_DMA is not configured
>
>    The page allocator will improperly return a page from ZONE_NORMAL even
>    when __GFP_DMA is passed if CONFIG_ZONE_DMA is disabled.  The caller
>    expects DMA memory, perhaps for ISA devices with 16-bit address registers,
>    and may get higher memory resulting in undefined behavior.
>
>    This patch causes the page allocator to return NULL in such circumstances
>    with a warning emitted to the kernel log on the first occurrence.
>
>    Signed-off-by: David Rientjes <rient...@google.com>
>    Cc: Mel Gorman <m...@csn.ul.ie>
>    Cc: KOSAKI Motohiro <kosaki.motoh...@jp.fujitsu.com>
>    Cc: KAMEZAWA Hiroyuki <kamezawa.hir...@jp.fujitsu.com>
>    Cc: Rik van Riel <r...@redhat.com>
>    Signed-off-by: Andrew Morton <a...@linux-foundation.org>
>    Signed-off-by: Linus Torvalds <torva...@linux-foundation.org>
>
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index 01e6b61..10a8c6d 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -2247,6 +2247,10 @@ __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int 
> order,
>
>        if (should_fail_alloc_page(gfp_mask, order))
>                return NULL;
> +#ifndef CONFIG_ZONE_DMA
> +       if (WARN_ON_ONCE(gfp_mask & __GFP_DMA))
> +               return NULL;
> +#endif
>
>        /*
>         * Check the zones suitable for the gfp_mask contain at least one
>
> --
> metan
>
> _______________________________________________
> Zaurus-devel mailing list
> Zaurus-devel@lists.linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
>

ah, that  IrDA driver fails on PXA255  thread... Russel is a bit upset :/

_______________________________________________
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel

Reply via email to