Skip to contentSkip to conversation

2.6.0-test3: #undef SMP && #define NUMA does not compile

DISCUSSION Andreas Schwab 2 participants 4 messages Aug 18, 2003

lore
Share & tools
lore
#0 lore raw

When configuring 2.6.0-test3 with CONFIG_SMP disabled and CONFIG_NUMA enabled I get undefined references to cpu_to_node_map and node_to_cpu_mask. Both variables are defined in arch/ia64/kernel/smpboot.c, thus only available for SMP.

Andreas.

Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
#1 lore raw
Quoted 4 lines · Andreas Schwab

When configuring 2.6.0-test3 with CONFIG_SMP disabled and CONFIG_NUMA enabled I get undefined references to cpu_to_node_map and node_to_cpu_mask. Both variables are defined in arch/ia64/kernel/smpboot.c, thus only available for SMP.

Surely we should make NUMA depend on SMP? Or does someone have an example of a NUMA single-processor box ;-)

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
#2 lore raw
In reply to Andreas Schwab

Matthew Wilcox <[email protected]> writes:

|> On Mon, Aug 18, 2003 at 05:46:17PM +0200, Andreas Schwab wrote:
|> > When configuring 2.6.0-test3 with CONFIG_SMP disabled and CONFIG_NUMA
|> > enabled I get undefined references to cpu_to_node_map and
|> > node_to_cpu_mask.  Both variables are defined in
|> > arch/ia64/kernel/smpboot.c, thus only available for SMP.
|> 
|> Surely we should make NUMA depend on SMP?  Or does someone have an
|> example of a NUMA single-processor box ;-)

One might want to boot an UP kernel on a NUMA box, would that still work?

Andreas.

Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
#3 lore raw
In reply to Andreas Schwab
Quoted 11 lines · Andreas Schwab

Matthew Wilcox <[email protected]> writes:

|> On Mon, Aug 18, 2003 at 05:46:17PM +0200, Andreas Schwab wrote:
|> > When configuring 2.6.0-test3 with CONFIG_SMP disabled and CONFIG_NUMA
|> > enabled I get undefined references to cpu_to_node_map and
|> > node_to_cpu_mask.  Both variables are defined in
|> > arch/ia64/kernel/smpboot.c, thus only available for SMP.
|> 
|> Surely we should make NUMA depend on SMP?  Or does someone have an
|> example of a NUMA single-processor box ;-)
Quoted 1 line

One might want to boot an UP kernel on a NUMA box, would that still work?

I don't see why it shouldn't ... if it doesn't, I'd say that's a bug.

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk