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

Al Boldi
2006-05-18T04:04:24Z

Con Kolivas wrote:
> 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.
>
> Signed-off-by: Con Kolivas <kernel@kolivas.org>
>
> ---
> kernel/sched.c | 28 +++++++++++-----------------
> 1 files changed, 11 insertions(+), 17 deletions(-)
>
> Index: linux-2.6.17-rc4-mm1/kernel/sched.c
> ===================================================================
> --- linux-2.6.17-rc4-mm1.orig/kernel/sched.c 2006-05-17 15:57:49
> +++ linux-2.6.17-rc4-mm1/kernel/sched.c 2006-05-17 18:19:29

Can you post a patch against 2.6.16?

Thanks!

--
Al