public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: apw@shadowen.org, akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Allow flatmem to be disabled when only sparsemem is implemented
Date: Sat, 12 Nov 2005 03:03:41 +1100	[thread overview]
Message-ID: <20051111160341.GK14770@krispykreme> (raw)


Hi Andy,

What do you think about this?

Anton

--

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@samba.org>
---
 
Index: build/mm/Kconfig
===================================================================
--- build.orig/mm/Kconfig	2005-11-11 11:31:38.000000000 +1100
+++ build/mm/Kconfig	2005-11-11 11:41:55.000000000 +1100
@@ -11,7 +11,7 @@
 
 config FLATMEM_MANUAL
 	bool "Flat Memory"
-	depends on !ARCH_DISCONTIGMEM_ENABLE || ARCH_FLATMEM_ENABLE
+	depends on !(ARCH_DISCONTIGMEM_ENABLE || ARCH_SPARSEMEM_ENABLE) || ARCH_FLATMEM_ENABLE
 	help
 	  This option allows you to change some of the ways that
 	  Linux manages its memory internally.  Most users will

             reply	other threads:[~2005-11-11 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-11 16:03 Anton Blanchard [this message]
2005-11-11 17:51 ` [PATCH] Allow flatmem to be disabled when only sparsemem is implemented Andy Whitcroft
2005-11-11 19:41   ` Andy Whitcroft
2005-11-14  0:53     ` Magnus Damm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051111160341.GK14770@krispykreme \
    --to=anton@samba.org \
    --cc=akpm@osdl.org \
    --cc=apw@shadowen.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox