linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Dave Hansen <haveblue@us.ibm.com>
To: magnus@valinux.co.jp
Cc: linux-mm@kvack.org, Dave Hansen <haveblue@us.ibm.com>
Subject: [PATCH 2/2] memhotplug testing: enable sparsemem on flat systems
Date: Fri, 30 Sep 2005 08:25:32 -0700	[thread overview]
Message-ID: <20050930152532.9FDF34BD@kernel.beaverton.ibm.com> (raw)
In-Reply-To: <20050930152531.3FDB46D3@kernel.beaverton.ibm.com>

---

 memhotplug-dave/arch/i386/Kconfig |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletion(-)

diff -puN arch/i386/Kconfig~C2-enable-i386-sparsemem-debug arch/i386/Kconfig
--- memhotplug/arch/i386/Kconfig~C2-enable-i386-sparsemem-debug	2005-09-29 12:40:42.000000000 -0700
+++ memhotplug-dave/arch/i386/Kconfig	2005-09-29 12:41:22.000000000 -0700
@@ -799,9 +799,23 @@ config ARCH_DISCONTIGMEM_DEFAULT
 	def_bool y
 	depends on NUMA
 
+config X86_SPARSEMEM_DEBUG_NONUMA
+	bool "Enable SPARSEMEM on flat systems (debugging only)"
+	depends on !NUMA && EXPERIMENTAL
+	select SPARSEMEM_STATIC
+	select SPARSEMEM_MANUAL
+
+config ARCH_MEMORY_PROBE
+	def_bool y
+	depends on X86_SPARSEMEM_DEBUG_NONUMA
+
+config ARCH_SPARSEMEM_DEFAULT
+	def_bool y
+	depends on X86_SPARSEMEM_DEBUG_NONUMA
+
 config ARCH_SPARSEMEM_ENABLE
 	def_bool y
-	depends on NUMA
+	depends on NUMA || X86_SPARSEMEM_DEBUG_NONUMA
 
 config ARCH_SELECT_MEMORY_MODEL
 	def_bool y
_

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2005-09-30 15:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-30 15:25 [PATCH 1/2] memhotplug testing: hack for " Dave Hansen
2005-09-30 15:25 ` Dave Hansen [this message]
2005-10-03  5:40   ` [PATCH 2/2] memhotplug testing: enable sparsemem on " 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=20050930152532.9FDF34BD@kernel.beaverton.ibm.com \
    --to=haveblue@us.ibm.com \
    --cc=linux-mm@kvack.org \
    --cc=magnus@valinux.co.jp \
    /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