summaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorByungchul Park2015-08-10 11:02:55 +0200
committerIngo Molnar2015-08-12 12:06:09 +0200
commit7855a35ac07a350e2cd26f09568a6d8e372be358 (patch)
treeabb27dda433ad9c731f82ac5c4901c0b44457548 /kernel/kthread.c
parentsched/numa: Fix NUMA_DIRECT topology identification (diff)
downloadkernel-qcow2-linux-7855a35ac07a350e2cd26f09568a6d8e372be358.tar.gz
kernel-qcow2-linux-7855a35ac07a350e2cd26f09568a6d8e372be358.tar.xz
kernel-qcow2-linux-7855a35ac07a350e2cd26f09568a6d8e372be358.zip
sched: Ensure a task has a non-normalized vruntime when returning back to CFS
Current code ensures that a task has a normalized vruntime when switching away from the fair class, but it does not ensure the task has a non-normalized vruntime when switching back to the fair class. This is an example breaking this consistency: 1. a task is in fair class and !queued 2. changes its class to RT class (still !queued) 3. changes its class to fair class again (still !queued) Signed-off-by: Byungchul Park <byungchul.park@lge.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1439197375-27927-1-git-send-email-byungchul.park@lge.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions