diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-08-16 10:03:24 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-09-04 14:31:32 +0200 |
commit | 201c373e8e4823700d3160d5c28e1ab18fd1193e (patch) | |
tree | f871b6f429e195cdf37dd0582d64813f220057a0 /usr | |
parent | sched: Remove AFFINE_WAKEUPS feature flag (diff) | |
download | linux-201c373e8e4823700d3160d5c28e1ab18fd1193e.tar.xz linux-201c373e8e4823700d3160d5c28e1ab18fd1193e.zip |
sched/debug: Limit sd->*_idx range on sysctl
Various sd->*_idx's are used for refering the rq's load average table
when selecting a cpu to run. However they can be set to any number
with sysctl knobs so that it can crash the kernel if something bad is
given. Fix it by limiting them into the actual range.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1345104204-8317-1-git-send-email-namhyung@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions