summaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2010-08-31 10:28:16 +0200
committerIngo Molnar <mingo@elte.hu>2010-09-09 20:41:20 +0200
commit01a08546af311c065f34727787dd0cc8dc0c216f (patch)
tree759d8898d8714b587985433a189070497081828f /include/linux/sched.h
parentf269893c575167447cc9f6d1867e639fb5b6f0c5 (diff)
downloadop-kernel-dev-01a08546af311c065f34727787dd0cc8dc0c216f.zip
op-kernel-dev-01a08546af311c065f34727787dd0cc8dc0c216f.tar.gz
sched: Add book scheduling domain
On top of the SMT and MC scheduling domains this adds the BOOK scheduling domain. This is useful for NUMA like machines which do not have an interface which tells which piece of memory is attached to which node or where the hardware performs striping. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20100831082844.253053798@de.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 1e2a6db..b51c53c 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -875,6 +875,7 @@ enum sched_domain_level {
SD_LV_NONE = 0,
SD_LV_SIBLING,
SD_LV_MC,
+ SD_LV_BOOK,
SD_LV_CPU,
SD_LV_NODE,
SD_LV_ALLNODES,
OpenPOWER on IntegriCloud