Re: 2.4.19pre1aa1

From: Rik van Riel (riel@conectiva.com.br)
Date: Mon Mar 04 2002 - 20:26:30 EST


On Tue, 5 Mar 2002, Andrea Arcangeli wrote:
> On Mon, Mar 04, 2002 at 09:01:31PM -0300, Rik van Riel wrote:
> > This could be expressed as:
> >
> > "node A" HIGHMEM A -> HIGHMEM B -> NORMAL -> DMA
> > "node B" HIGHMEM B -> HIGHMEM A -> NORMAL -> DMA
>
> Highmem? Let's assume you speak about "normal" and "dma" only of course.
>
> And that's not always the right zonelist layout. If an allocation asks for
> ram from a certain node, like during the ram bindings, we should use the
> current layout of the numa zonelist. If node A is the preferred, than we
> should allocate from node A first,

You're forgetting about the fact that this NUMA box only
has 1 ZONE_NORMAL and 1 ZONE_DMA while it has multiple
HIGHMEM zones...

This makes the fallback pattern somewhat more complex.

regards,

Rik

-- 
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

http://www.surriel.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:37 EST