Skip to contentSkip to conversation

Regression seen for patch "sched:dont decrease idle sleep avg"

DISCUSSION Al Boldi 1 participant 1 message May 18, 2006

lore
Share & tools
lore

Al Boldi

author
#0 lore raw

kernel/sched.c 2006-05-17 18:19:29

Quoted 22 lines · Con Kolivas

How's this look?
---
The relationship between INTERACTIVE_SLEEP and the ceiling is not perfect and not explicit enough. The sleep boost is not supposed to be any larger than without this code and the comment is not clear enough about what exactly it does, just the reason it does it.

There is a ceiling to the priority beyond which tasks that only ever sleep for very long periods cannot surpass.

Opportunity to micro-optimise and re-use the ceiling variable.

---
 kernel/sched.c |   28 +++++++++++-----------------
 1 files changed, 11 insertions(+), 17 deletions(-)

Index: linux-2.6.17-rc4-mm1/kernel/sched.c
===================================================================

kernel/sched.c 2006-05-17 18:19:29 renamed from kernel/sched.c 2006-05-17 15:57:49 +0 -0

Can you post a patch against 2.6.16?

Thanks!

--
Al