aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-10-15 11:00:18 -0400
committerIngo Molnar <mingo@elte.hu>2007-10-15 11:00:18 -0400
commitda84d96176729fb48a8458561e5d8647103168b8 (patch)
tree24c952d956178faa9ac8b5c505513c93a87f4f6b /kernel/sched_fair.c
parente5f32a3856caabe745381279f7f32e3b581b59dc (diff)
sched: reintroduce cache-hot affinity
reintroduce a simplified version of cache-hot/cold scheduling affinity. This improves performance with certain SMP workloads, such as sysbench. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
-rw-r--r--kernel/sched_fair.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index cea1fa32b3f4..a17b785d7000 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -74,6 +74,8 @@ const_debug unsigned int sysctl_sched_batch_wakeup_granularity = 10000000UL;
74 */ 74 */
75const_debug unsigned int sysctl_sched_wakeup_granularity = 10000000UL; 75const_debug unsigned int sysctl_sched_wakeup_granularity = 10000000UL;
76 76
77const_debug unsigned int sysctl_sched_migration_cost = 500000UL;
78
77/************************************************************** 79/**************************************************************
78 * CFS operations on generic schedulable entities: 80 * CFS operations on generic schedulable entities:
79 */ 81 */