aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.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/sysctl.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/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[] = {
277 .mode = 0644, 277 .mode = 0644,
278 .proc_handler = &proc_dointvec, 278 .proc_handler = &proc_dointvec,
279 }, 279 },
280 {
281 .ctl_name = CTL_UNNUMBERED,
282 .procname = "sched_migration_cost",
283 .data = &sysctl_sched_migration_cost,
284 .maxlen = sizeof(unsigned int),
285 .mode = 0644,
286 .proc_handler = &proc_dointvec,
287 },
280#endif 288#endif
281 { 289 {
282 .ctl_name = CTL_UNNUMBERED, 290 .ctl_name = CTL_UNNUMBERED,