diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-05-09 05:27:06 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-09 05:41:15 +0200 |
commit | d5f9f942c601fdebe57f7805e4b4fbad9c28ada8 (patch) | |
tree | 6a212ceabd844fbaf517a13a9f885be5ab1c59b5 /fs/hfsplus/hfsplus_fs.h | |
parent | applesmc: Use standard sysfs names for labels (diff) | |
download | linux-d5f9f942c601fdebe57f7805e4b4fbad9c28ada8.tar.xz linux-d5f9f942c601fdebe57f7805e4b4fbad9c28ada8.zip |
revert 'sched: redundant reschedule when set_user_nice() boosts a prio of a task from the "expired" array'
Revert commit bd53f96ca54a21c07e7a0ae1886fa623d370b85f.
Con says:
This is no good, sorry. The one I saw originally was with the staircase
deadline cpu scheduler in situ and was different.
#define TASK_PREEMPTS_CURR(p, rq) \
((p)->prio < (rq)->curr->prio)
(((p)->prio < (rq)->curr->prio) && ((p)->array == (rq)->active))
This will fail to wake up a runqueue for a task that has been migrated to the
expired array of a runqueue which is otherwise idle which can happen with smp
balancing,
Cc: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Cc: Con Kolivas <kernel@kolivas.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfsplus/hfsplus_fs.h')
0 files changed, 0 insertions, 0 deletions