diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2007-10-15 17:00:12 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-10-15 17:00:12 +0200 |
commit | 5f6d858ecca78f71755859a346d845e302973cd1 (patch) | |
tree | 5422f6ff9aa7ffab4c708432de84a79e52e503d9 /kernel/sysctl.c | |
parent | b0ffd246ea947a037746e725bd461bb7e809a4b3 (diff) | |
download | kernel_samsung_tuna-5f6d858ecca78f71755859a346d845e302973cd1.zip kernel_samsung_tuna-5f6d858ecca78f71755859a346d845e302973cd1.tar.gz kernel_samsung_tuna-5f6d858ecca78f71755859a346d845e302973cd1.tar.bz2 |
sched: speed up and simplify vslice calculations
speed up and simplify vslice calculations.
[ From: Mike Galbraith <efault@gmx.de>: build fix ]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 97b15c2..230ca4e 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -222,14 +222,11 @@ static ctl_table kern_table[] = { #ifdef CONFIG_SCHED_DEBUG { .ctl_name = CTL_UNNUMBERED, - .procname = "sched_min_granularity_ns", - .data = &sysctl_sched_min_granularity, + .procname = "sched_nr_latency", + .data = &sysctl_sched_nr_latency, .maxlen = sizeof(unsigned int), .mode = 0644, - .proc_handler = &proc_dointvec_minmax, - .strategy = &sysctl_intvec, - .extra1 = &min_sched_granularity_ns, - .extra2 = &max_sched_granularity_ns, + .proc_handler = &proc_dointvec, }, { .ctl_name = CTL_UNNUMBERED, |