]> git.hungrycats.org Git - linux/commit
[PATCH] sched: consolidate sched domains
authorNick Piggin <nickpiggin@yahoo.com.au>
Tue, 24 Aug 2004 04:08:41 +0000 (21:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 04:08:41 +0000 (21:08 -0700)
commit8a7a2318dc07c98c8ae87bcf8258a829846a9512
treef0d826479c44bb8251b74f251f547a4e812d8c0c
parentc62e7cdb3655b52b3d8904efa3183b88248c92fd
[PATCH] sched: consolidate sched domains

  Teach the generic domains builder about SMT, and consolidate all
  architecture specific domain code into that.  Also, the SD_*_INIT macros can
  now be redefined by arch code without duplicating the entire setup code.
  This can be done by defining ARCH_HASH_SCHED_TUNE.

  The generic builder has been simplified with the addition of a helper
  macro which will probably prove to be useful to arch specific code as well
  and should be exported if that is the case.

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
From: Matthew Dobson <colpatch@us.ibm.com>

  The attached patch is against 2.6.8-rc2-mm2, and removes Nick's
  conditional definition & population of cpu_sibling_map[] in favor of my
  unconditional ones.  This does not affect how cpu_sibling_map is used, just
  gives it broader scope.

From: Nick Piggin <nickpiggin@yahoo.com.au>

  Small fix to sched-consolidate-domains.patch picked up by

From: Suresh <suresh.b.siddha@intel.com>

  another sched consolidate domains fix

From: Nick Piggin <nickpiggin@yahoo.com.au>

  Don't use cpu_sibling_map if !CONFIG_SCHED_SMT

  This one spotted by Dimitri Sivanich <sivanich@sgi.com>

Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/sched-domains.txt
arch/i386/kernel/smpboot.c
arch/ppc64/kernel/smp.c
arch/x86_64/kernel/Makefile
arch/x86_64/kernel/Makefile-HEAD
arch/x86_64/kernel/domain.c [deleted file]
include/asm-i386/processor.h
include/asm-ppc64/processor.h
include/asm-x86_64/processor.h
include/linux/sched.h
kernel/sched.c