git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89f19f0
)
sched: Fix potential NULL derference of doms_cur
author
Yong Zhang
<yong.zhang0@gmail.com>
Mon, 14 Sep 2009 12:20:16 +0000
(20:20 +0800)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 20 Sep 2009 18:20:30 +0000
(20:20 +0200)
If CONFIG_CPUMASK_OFFSTACK is enabled but doms_cur alloc failed in
arch_init_sched_domains(), doms_cur will move back to
fallback_doms. But this time, fallback_doms has not been
initialized yet.
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Cc: a.p.zijlstra@chello.nl
LKML-Reference: <
1252930816
-7672-1-git-send-email-yong.zhang0@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
patch
|
blob
|
history
diff --cc
kernel/sched.c
Simple merge