diff options
| author | Srikar Dronamraju <[email protected]> | 2013-11-12 16:41:26 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-11-19 16:01:15 +0000 |
| commit | 9abf24d465180f5f2eb26a43545348262f16b771 (patch) | |
| tree | b823e6a604a522d7b0c3a374f6d8b8aab4a8acd5 /drivers/net/xen-netback/interface.c | |
| parent | MAINTAINERS: Update file patterns in the lockdep and scheduler entries (diff) | |
| download | kernel-9abf24d465180f5f2eb26a43545348262f16b771.tar.gz kernel-9abf24d465180f5f2eb26a43545348262f16b771.zip | |
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 <[email protected]>
[ Added comment and tweaked patch. ]
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
