diff options
author | Srikar Dronamraju <srikar@linux.vnet.ibm.com> | 2013-11-12 22:11:26 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-11-19 17:01:15 +0100 |
commit | 9abf24d465180f5f2eb26a43545348262f16b771 (patch) | |
tree | b823e6a604a522d7b0c3a374f6d8b8aab4a8acd5 /security | |
parent | 7486d6da09d4d76d49c68826c97578246936092b (diff) |
sched: Check sched_domain before computing group power
After commit 863bffc80898 ("sched/fair: Fix group power_orig
computation"), we can dereference rq->sd before it is set.
Fix this by falling back to power_of() in this case and add a comment
explaining things.
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
[ Added comment and tweaked patch. ]
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: mikey@neuling.org
Link: http://lkml.kernel.org/r/20131113151718.GN21461@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions