From: Kirill Tkhai Date: Fri, 12 Sep 2014 11:03:34 +0000 (+0400) Subject: sched: Do not stop cpu in set_cpus_allowed_ptr() if task is not running X-Git-Tag: fixes-against-v3.18-rc2~97^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a15b12ac36ad4e7b856a4ae54937ae26a51aebad;p=pandora-kernel.git sched: Do not stop cpu in set_cpus_allowed_ptr() if task is not running If a task is queued but not running on it rq, we can simply migrate it without migration thread and switching of context. Signed-off-by: Kirill Tkhai Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1410519814.3569.7.camel@tkhai Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed