]> git.hungrycats.org Git - linux/commit
[PATCH] sched_domains: Make SD_NODE_INIT per-arch #2
authorMatthew Dobson <colpatch@us.ibm.com>
Mon, 18 Oct 2004 16:11:27 +0000 (09:11 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 18 Oct 2004 16:11:27 +0000 (09:11 -0700)
commit7b2565a8aa93ec2397723e2d68d78c48cd6a51ee
treecb8b21205c0e13ee457952b943f9ebc0c52e4f3a
parent95a2f6d75d878126b883e87a5fd028e971851c93
[PATCH] sched_domains: Make SD_NODE_INIT per-arch #2

Here's yet another version of a patch to implement per-arch SD_*_INITs.
This follows the same basic idea of my last patch, but

1) defines an arch-specific SD_NODE_INIT for the 4 NUMA arches (i386,
   x86_64, IA64 & PPC64),

2) defines *default* SD_CPU_INIT & SD_SIBLING_INIT for *all* arches,
   with the possibility of them being overridden by simply defining an
   arch-specific version in include/asm/topology.h.

The motivation behind the third version of this patch is that Martin feels
that there should be no "default" NUMA initializer because NUMA
characteristics are *very* arch/platform specific, and hence a "default"
NUMA initializer can only lead to confusion.  I agree with most of that,
but don't quite see as much harm in having a default as he does.
Nevertheless, to keep him quiet, I've run up this version of the patch.
Martin, please run this through your magic test suite and make sure I
didn't break anything trivial.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/kernel/domain.c
include/asm-i386/topology.h
include/asm-ia64/processor.h
include/asm-ia64/topology.h
include/asm-ppc64/topology.h
include/asm-x86_64/topology.h
include/linux/sched.h
include/linux/topology.h