diff options
author | Wanpeng Li <wanpeng.li@linux.intel.com> | 2014-11-26 08:44:01 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-02-04 07:52:25 +0100 |
commit | a7bebf488791aa1036f3e6629daf01d01f705dcb (patch) | |
tree | 5a85ca285a7e66581e8f97094bafac7cfa5b02cc /kernel/smp.c | |
parent | 4c195c8a1967ff8bee13a811518a99db04618ab7 (diff) | |
download | op-kernel-dev-a7bebf488791aa1036f3e6629daf01d01f705dcb.zip op-kernel-dev-a7bebf488791aa1036f3e6629daf01d01f705dcb.tar.gz |
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 <wanpeng.li@linux.intel.com>
Acked-by: Juri Lelli <juri.lelli@arm.com>
[ Rewrote the changelog and comment. ]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Kirill Tkhai <ktkhai@parallels.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1416962647-76792-2-git-send-email-wanpeng.li@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions