Re: [discuss] mmap, mbind and write to mmap'ed memory crashes 2.6.16-rc1[2] on 2 node X86_64
From: Andi Kleen
Date: Wed Feb 08 2006 - 11:26:44 EST
On Wednesday 08 February 2006 17:20, Christoph Lameter wrote:
> On Wed, 8 Feb 2006, Andi Kleen wrote:
>
> > > So a provisional solution would be to simply ignore empty zones in
> > > bind_zonelist?
> >
> > That would likely prevent the crash yes (Bharata can you test?)
> >
> > But of course it still has the problem of a lot of memory being unpolicied
> > on machines with >4GB if there's both DMA32 and NORMAL.
>
> The fix could result in a zonelist with no zones. So we can answer one
> question in __alloc_pages().
I don't think it can happen - at least one zone <= policy-zone has to
have memory otherwise the machine wouldn't work at all.
-Andi
-
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/