diff options
author | Ingo Molnar <mingo@elte.hu> | 2007-03-01 05:13:42 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 23:53:38 +0100 |
commit | 7355690ead6d61f6344072ae61060f985060da29 (patch) | |
tree | a8cd9d89ed0a34b6d81399eae0999a0cafa63ed8 /Documentation/cpu-load.txt | |
parent | [PATCH] ps3: introduce CONFIG_PS3_ADVANCED (diff) | |
download | linux-7355690ead6d61f6344072ae61060f985060da29.tar.xz linux-7355690ead6d61f6344072ae61060f985060da29.zip |
[PATCH] sched: fix SMT scheduler bug
The SMT scheduler incorrectly skips kernel threads even if they are
runnable (but they are preempted by a higher-prio user-space task which got
SMT-delayed by an even higher-priority task running on a sibling CPU).
Fix this for now by only doing the SMT-nice optimization if the
to-be-delayed task is the only runnable task. (This should cover most of
the real-life cases anyway.)
This bug has been in the SMT scheduler since 2.6.17 or so, but has only
been noticed now by the active check in the dynticks code.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/cpu-load.txt')
0 files changed, 0 insertions, 0 deletions