Re: [PATCH] Allow flatmem to be disabled when only sparsemem is implemented

From: Andy Whitcroft
Date: Fri Nov 11 2005 - 12:51:57 EST


Anton Blanchard wrote:

> On architectures that implement sparsemem but not discontigmem we want
> to be able to hide the flatmem option in some cases. On ppc64 for
> example, when we select NUMA we must not select flatmem.
>
> Signed-off-by: Anton Blanchard <anton@xxxxxxxxx>

First reaction is that this is very reasonable. I can see why you need
to do this as you don't have DISCONTIGMEM. I will just go check the
major architectures and make sure they arn't relying on being able to
enable SPARSEMEM and getting FLATMEM too behaviour. I don't think they
can be as they all have DISCONTIGMEM and so should be insulated.

-apw
-
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/