diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:18 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:18 +0200 |
commit | da84d96176729fb48a8458561e5d8647103168b8 (patch) | |
tree | 24c952d956178faa9ac8b5c505513c93a87f4f6b /kernel/sysctl.c | |
parent | e5f32a3856caabe745381279f7f32e3b581b59dc (diff) | |
download | kernel_samsung_tuna-da84d96176729fb48a8458561e5d8647103168b8.zip kernel_samsung_tuna-da84d96176729fb48a8458561e5d8647103168b8.tar.gz kernel_samsung_tuna-da84d96176729fb48a8458561e5d8647103168b8.tar.bz2 |
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.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 230ca4e..ec14aa8 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, |