diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:22:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-15 11:22:16 -0400 |
commit | b5869ce7f68b233ceb81465a7644be0d9a5f3dbb (patch) | |
tree | e3611e7f038a4a4fa813532ae57a9a626fa1434d /kernel/sysctl.c | |
parent | df3d80f5a5c74168be42788364d13cf6c83c7b9c (diff) | |
parent | 9c63d9c021f375a2708ad79043d6f4dd1291a085 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched
* git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched: (140 commits)
sched: sync wakeups preempt too
sched: affine sync wakeups
sched: guest CPU accounting: maintain guest state in KVM
sched: guest CPU accounting: maintain stats in account_system_time()
sched: guest CPU accounting: add guest-CPU /proc/<pid>/stat fields
sched: guest CPU accounting: add guest-CPU /proc/stat field
sched: domain sysctl fixes: add terminator comment
sched: domain sysctl fixes: do not crash on allocation failure
sched: domain sysctl fixes: unregister the sysctl table before domains
sched: domain sysctl fixes: use for_each_online_cpu()
sched: domain sysctl fixes: use kcalloc()
Make scheduler debug file operations const
sched: enable wake-idle on CONFIG_SCHED_MC=y
sched: reintroduce topology.h tunings
sched: allow the immediate migration of cache-cold tasks
sched: debug, improve migration statistics
sched: debug: increase width of debug line
sched: activate task_hot() only on fair-scheduled tasks
sched: reintroduce cache-hot affinity
sched: speed up context-switches a bit
...
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 6c97259e863e..ec14aa8ac51f 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -222,14 +222,11 @@ static ctl_table kern_table[] = { | |||
222 | #ifdef CONFIG_SCHED_DEBUG | 222 | #ifdef CONFIG_SCHED_DEBUG |
223 | { | 223 | { |
224 | .ctl_name = CTL_UNNUMBERED, | 224 | .ctl_name = CTL_UNNUMBERED, |
225 | .procname = "sched_min_granularity_ns", | 225 | .procname = "sched_nr_latency", |
226 | .data = &sysctl_sched_min_granularity, | 226 | .data = &sysctl_sched_nr_latency, |
227 | .maxlen = sizeof(unsigned int), | 227 | .maxlen = sizeof(unsigned int), |
228 | .mode = 0644, | 228 | .mode = 0644, |
229 | .proc_handler = &proc_dointvec_minmax, | 229 | .proc_handler = &proc_dointvec, |
230 | .strategy = &sysctl_intvec, | ||
231 | .extra1 = &min_sched_granularity_ns, | ||
232 | .extra2 = &max_sched_granularity_ns, | ||
233 | }, | 230 | }, |
234 | { | 231 | { |
235 | .ctl_name = CTL_UNNUMBERED, | 232 | .ctl_name = CTL_UNNUMBERED, |
@@ -266,38 +263,24 @@ static ctl_table kern_table[] = { | |||
266 | }, | 263 | }, |
267 | { | 264 | { |
268 | .ctl_name = CTL_UNNUMBERED, | 265 | .ctl_name = CTL_UNNUMBERED, |
269 | .procname = "sched_stat_granularity_ns", | 266 | .procname = "sched_child_runs_first", |
270 | .data = &sysctl_sched_stat_granularity, | 267 | .data = &sysctl_sched_child_runs_first, |
271 | .maxlen = sizeof(unsigned int), | ||
272 | .mode = 0644, | ||
273 | .proc_handler = &proc_dointvec_minmax, | ||
274 | .strategy = &sysctl_intvec, | ||
275 | .extra1 = &min_wakeup_granularity_ns, | ||
276 | .extra2 = &max_wakeup_granularity_ns, | ||
277 | }, | ||
278 | { | ||
279 | .ctl_name = CTL_UNNUMBERED, | ||
280 | .procname = "sched_runtime_limit_ns", | ||
281 | .data = &sysctl_sched_runtime_limit, | ||
282 | .maxlen = sizeof(unsigned int), | 268 | .maxlen = sizeof(unsigned int), |
283 | .mode = 0644, | 269 | .mode = 0644, |
284 | .proc_handler = &proc_dointvec_minmax, | 270 | .proc_handler = &proc_dointvec, |
285 | .strategy = &sysctl_intvec, | ||
286 | .extra1 = &min_sched_granularity_ns, | ||
287 | .extra2 = &max_sched_granularity_ns, | ||
288 | }, | 271 | }, |
289 | { | 272 | { |
290 | .ctl_name = CTL_UNNUMBERED, | 273 | .ctl_name = CTL_UNNUMBERED, |
291 | .procname = "sched_child_runs_first", | 274 | .procname = "sched_features", |
292 | .data = &sysctl_sched_child_runs_first, | 275 | .data = &sysctl_sched_features, |
293 | .maxlen = sizeof(unsigned int), | 276 | .maxlen = sizeof(unsigned int), |
294 | .mode = 0644, | 277 | .mode = 0644, |
295 | .proc_handler = &proc_dointvec, | 278 | .proc_handler = &proc_dointvec, |
296 | }, | 279 | }, |
297 | { | 280 | { |
298 | .ctl_name = CTL_UNNUMBERED, | 281 | .ctl_name = CTL_UNNUMBERED, |
299 | .procname = "sched_features", | 282 | .procname = "sched_migration_cost", |
300 | .data = &sysctl_sched_features, | 283 | .data = &sysctl_sched_migration_cost, |
301 | .maxlen = sizeof(unsigned int), | 284 | .maxlen = sizeof(unsigned int), |
302 | .mode = 0644, | 285 | .mode = 0644, |
303 | .proc_handler = &proc_dointvec, | 286 | .proc_handler = &proc_dointvec, |