summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorIngo Molnar2007-10-15 17:00:18 +0200
committerIngo Molnar2007-10-15 17:00:18 +0200
commitda84d96176729fb48a8458561e5d8647103168b8 (patch)
tree24c952d956178faa9ac8b5c505513c93a87f4f6b /kernel/sysctl.c
parentsched: speed up context-switches a bit (diff)
downloadkernel-qcow2-linux-da84d96176729fb48a8458561e5d8647103168b8.tar.gz
kernel-qcow2-linux-da84d96176729fb48a8458561e5d8647103168b8.tar.xz
kernel-qcow2-linux-da84d96176729fb48a8458561e5d8647103168b8.zip
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/sysctl.c')
-rw-r--r--kernel/sysctl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 230ca4eb57fe..ec14aa8ac51f 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -277,6 +277,14 @@ static ctl_table kern_table[] = {
.mode = 0644,
.proc_handler = &proc_dointvec,
},
+ {
+ .ctl_name = CTL_UNNUMBERED,
+ .procname = "sched_migration_cost",
+ .data = &sysctl_sched_migration_cost,
+ .maxlen = sizeof(unsigned int),
+ .mode = 0644,
+ .proc_handler = &proc_dointvec,
+ },
#endif
{
.ctl_name = CTL_UNNUMBERED,