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:
61eadef
)
sched: Avoid going ahead if ->cpus_allowed is not changed
author
Yong Zhang
<yong.zhang0@gmail.com>
Mon, 9 May 2011 14:07:05 +0000
(22:07 +0800)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 16 May 2011 09:01:18 +0000
(11:01 +0200)
If cpumask_equal(&p->cpus_allowed, new_mask) is true, seems
there is no reason to prevent set_cpus_allowed_ptr() return
directly.
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link:
http://lkml.kernel.org/r/20110509140705.GA2219@zhy
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
patch
|
blob
|
history
diff --cc
kernel/sched.c
Simple merge