From: Yong Zhang Date: Mon, 9 May 2011 14:07:05 +0000 (+0800) Subject: sched: Avoid going ahead if ->cpus_allowed is not changed X-Git-Tag: v3.0-rc1~403^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db44fc017d5989302713ab4e7f9e922b648f4b59;p=pandora-kernel.git sched: Avoid going ahead if ->cpus_allowed is not changed 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 Acked-by: Hillf Danton Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20110509140705.GA2219@zhy Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed