aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r--include/linux/sched.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 61a111fe2b7a..d5084e7c48cf 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -652,7 +652,14 @@ enum cpu_idle_type {
652/* 652/*
653 * sched-domains (multiprocessor balancing) declarations: 653 * sched-domains (multiprocessor balancing) declarations:
654 */ 654 */
655#define SCHED_LOAD_SCALE 128UL /* increase resolution of load */ 655
656/*
657 * Increase resolution of nice-level calculations:
658 */
659#define SCHED_LOAD_SHIFT 10
660#define SCHED_LOAD_SCALE (1L << SCHED_LOAD_SHIFT)
661
662#define SCHED_LOAD_SCALE_FUZZ (SCHED_LOAD_SCALE >> 5)
656 663
657#ifdef CONFIG_SMP 664#ifdef CONFIG_SMP
658#define SD_LOAD_BALANCE 1 /* Do load balancing on this domain. */ 665#define SD_LOAD_BALANCE 1 /* Do load balancing on this domain. */