All of lore.kernel.org
 help / color / mirror / Atom feed
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
To: "Randy.Dunlap" <rdunlap@xenotime.net>
Cc: kmannth@gmail.com, linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: another NUMA build error
Date: Sat, 26 Aug 2006 10:56:39 +0900	[thread overview]
Message-ID: <20060826105639.5680429d.kamezawa.hiroyu@jp.fujitsu.com> (raw)
In-Reply-To: <20060825160115.7f768797.rdunlap@xenotime.net>

On Fri, 25 Aug 2006 16:01:15 -0700
"Randy.Dunlap" <rdunlap@xenotime.net> wrote:

> > I thought there was a patch fix a while ago to fix this build issue.
> > If you want to anything that includes the SUMMIT sub arch you need
> > CONFIG_ACPI_SRAT.
> > 
> > Option 1 is a good solution as only NUMAQ and ACPI_SRAT have tables
> > that are used to setup NUMA in the kernel.
> > 
> > > OK, I prefer option 2 because it is more generic (not hardware-
> > > specific).  Someone else can prefer option 1 because it is
> > > hardware-specific.  :)
> > 
> > I guess I am that other person.  Really you only want/need NUMA if you
> > have ACPI_SRAT (Summit) or NUMAQ.
> 
> That's fine.  Any fix is OK with me, as long as a .config
> won't generate a build error.
> 
Hmm... is this the way to go ?
Keith-san, please ack if Okay.
-Kame

--
When we select NUMA with i386, the system is only X86_NUMAQ or using ACPI.

Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>

Index: linux-2.6.18-rc4/arch/i386/Kconfig
===================================================================
--- linux-2.6.18-rc4.orig/arch/i386/Kconfig
+++ linux-2.6.18-rc4/arch/i386/Kconfig
@@ -142,6 +142,7 @@ config X86_SUMMIT
 	  In particular, it is needed for the x440.
 
 	  If you don't have one of these computers, you should say N here.
+	  If you want to build NUMA kernel, you have to select ACPI
 
 config X86_BIGSMP
 	bool "Support for other sub-arch SMP systems with more than 8 CPUs"
@@ -169,6 +170,7 @@ config X86_GENERICARCH
        help
           This option compiles in the Summit, bigsmp, ES7000, default subarchitectures.
 	  It is intended for a generic binary kernel.
+	  if you want NUMA kernel, select ACPI. we need SRAT for build NUMA
 
 config X86_ES7000
 	bool "Support for Unisys ES7000 IA32 series"
@@ -542,7 +544,7 @@ config X86_PAE
 # Common NUMA Features
 config NUMA
 	bool "Numa Memory Allocation and Scheduler Support"
-	depends on SMP && HIGHMEM64G && (X86_NUMAQ || X86_GENERICARCH || (X86_SUMMIT && ACPI))
+	depends on SMP && HIGHMEM64G && (X86_NUMAQ || (X86_SUMMIT || X86_GENERICARCH) && ACPI)
 	default n if X86_PC
 	default y if (X86_NUMAQ || X86_SUMMIT)
 


  reply	other threads:[~2006-08-26  1:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-25  4:35 another NUMA build error Randy.Dunlap
2006-08-25  5:43 ` KAMEZAWA Hiroyuki
2006-08-25 17:35   ` Randy.Dunlap
2006-08-25 18:28     ` KAMEZAWA Hiroyuki
2006-08-25 19:06       ` Randy.Dunlap
     [not found]     ` <a762e240608251544t2e15ec8dq5a8f95f02eecb0a4@mail.gmail.com>
2006-08-25 23:01       ` Randy.Dunlap
2006-08-26  1:56         ` KAMEZAWA Hiroyuki [this message]
2006-08-26  4:17           ` Randy.Dunlap

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=20060826105639.5680429d.kamezawa.hiroyu@jp.fujitsu.com \
    --to=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=akpm@osdl.org \
    --cc=kmannth@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@xenotime.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.