Files
erofs-linux/kernel
Ingo Molnar 7355690ead [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 <[email protected]>
Cc: Michal Piotrowski <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-03-01 14:53:38 -08:00
..
2007-02-17 21:30:12 -05:00
…
2007-02-17 21:30:15 -05:00
2007-02-11 10:51:32 -08:00
…
…
…
…
2007-02-17 20:10:16 +01:00
…
…
…
2007-03-01 14:53:38 -08:00
…
…
…
2007-03-01 14:53:37 -08:00
…
…
…
…