• Nick Piggin's avatar
    [PATCH] sched: consolidate sched domains · 8a7a2318
    Nick Piggin authored
      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: default avatarNick 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: default avatarNick Piggin <nickpiggin@yahoo.com.au>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    8a7a2318
sched-domains.txt 3.62 KB