Re: [PATCH 1/4] create mm/Kconfig for arch-independent memoryoptions

From: Dave Hansen
Date: Wed Apr 06 2005 - 16:04:37 EST


On Wed, 2005-04-06 at 22:58 +0200, Roman Zippel wrote:
> Dave Hansen wrote:
> > --- memhotplug/mm/Kconfig~A6-mm-Kconfig 2005-04-04 09:04:48.000000000 -0700
> > +++ memhotplug-dave/mm/Kconfig 2005-04-04 10:15:23.000000000 -0700
> > @@ -0,0 +1,25 @@
> > +choice
> > + prompt "Memory model"
> > + default FLATMEM
> > + default SPARSEMEM if ARCH_SPARSEMEM_DEFAULT
> > + default DISCONTIGMEM if ARCH_DISCONTIGMEM_DEFAULT
>
> Does this really have to be a user visible option and can't it be
> derived from other values? The help text entries are really no help at all.

I hope that this selection will replace the current DISCONTIGMEM prompts
in the individual architectures. That way, you won't get a net increase
in the number of prompts. However, I do realize that architectures
without DISCONTIG see a new, relatively useless menu/prompt.

Is there a way to hide an entire "choice" menu? If there is, we can
certainly hide it when there's only one possible choice.

-- Dave

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