From: Wanpeng Li Date: Wed, 26 Nov 2014 00:44:01 +0000 (+0800) Subject: sched/deadline: Fix hrtick for a non-leftmost task X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~163^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7bebf488791aa1036f3e6629daf01d01f705dcb;p=pandora-kernel.git sched/deadline: Fix hrtick for a non-leftmost task After update_curr_dl() the current task might not be the leftmost task anymore. In that case do not start a new hrtick for it. In this case NEED_RESCHED will be set and the next schedule will start the hrtick for the new task if and when appropriate. Signed-off-by: Wanpeng Li Acked-by: Juri Lelli [ Rewrote the changelog and comment. ] Signed-off-by: Peter Zijlstra (Intel) Cc: Kirill Tkhai Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1416962647-76792-2-git-send-email-wanpeng.li@linux.intel.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed