]> git.hungrycats.org Git - linux/commit
[PATCH] sched: implement domains for i386 HT
authorAndrew Morton <akpm@osdl.org>
Mon, 10 May 2004 06:24:38 +0000 (23:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 10 May 2004 06:24:38 +0000 (23:24 -0700)
commite18e19ade9a0c0334cf8a2bc1945d97ec1697061
tree57afc4fa73702ed5d66fb8197f8668e65de28e8a
parent7a1dc0ea9e84be7175d007b19ae9d8caab13c2e5
[PATCH] sched: implement domains for i386 HT

From: Nick Piggin <piggin@cyberone.com.au>

The following patch builds a scheduling description for the i386
architecture using cpu_sibling_map to set up SMT if CONFIG_SCHED_SMT is
set.

It could be made more fancy and collapse degenerate domains at runtime (ie.
1 sibling per CPU, or 1 NUMA node in the computer).

From: Zwane Mwaikambo <zwane@arm.linux.org.uk>

   This fixes an oops due to cpu_sibling_map being uninitialised when a
   system with no MP table (most UP boxen) boots a CONFIG_SMT kernel.  What
   also happens is that the cpu_group lists end up not being terminated
   properly, but this oops kills it first.  Patch tested on UP w/o MP table,
   2x P2 and UP Xeon w/ no siblings.

From: "Martin J. Bligh" <mbligh@aracnet.com>,
      Nick Piggin <piggin@cyberone.com.au>

   Change arch_init_sched_domains to use cpu_online_map

From: Anton Blanchard <anton@samba.org>

   Fix build with NR_CPUS > BITS_PER_LONG
arch/i386/Kconfig
arch/i386/kernel/smpboot.c
include/asm-i386/processor.h
include/linux/sched.h
kernel/sched.c