diff options
author | Con Kolivas <kernel@kolivas.org> | 2006-03-31 02:31:26 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-31 12:18:58 -0800 |
commit | e72ff0bb2c163eb13014ba113701bd42dab382fe (patch) | |
tree | 6e4b8063442b3e020af474c2d4be124f01b0cb88 /kernel/resource.c | |
parent | e7c38cb49c6cc05bc11f70d9e9889da1c4a0d37f (diff) | |
download | kernel_samsung_smdk4412-e72ff0bb2c163eb13014ba113701bd42dab382fe.zip kernel_samsung_smdk4412-e72ff0bb2c163eb13014ba113701bd42dab382fe.tar.gz kernel_samsung_smdk4412-e72ff0bb2c163eb13014ba113701bd42dab382fe.tar.bz2 |
[PATCH] sched: dont decrease idle sleep avg
We watch for tasks that sleep extended periods and don't allow one single
prolonged sleep period from elevating priority to maximum bonus to prevent cpu
bound tasks from getting high priority with single long sleeps. There is a
bug in the current code that also penalises tasks that already have high
priority. Correct that bug.
Signed-off-by: Con Kolivas <kernel@kolivas.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions