Re: [tip:sched/core] sched: Keep kthreads at default priority
From: Peter Zijlstra
Date: Wed Sep 09 2009 - 13:06:59 EST
On Wed, 2009年09月09日 at 09:55 -0700, Dmitry Torokhov wrote:
>
On Wed, Sep 09, 2009 at 03:37:34PM +0000, tip-bot for Mike Galbraith wrote:
>
>
>
> diff --git a/kernel/kthread.c b/kernel/kthread.c
>
> index eb8751a..5fe7099 100644
>
> --- a/kernel/kthread.c
>
> +++ b/kernel/kthread.c
>
> @@ -16,8 +16,6 @@
>
> #include <linux/mutex.h>
>
> #include <trace/events/sched.h>
>
>
>
> -#define KTHREAD_NICE_LEVEL (-5)
>
> -
>
>
Why don't we just redefine it to 0? We may find out later that we'd
>
still prefer to have kernel threads have boost.
Seems sensible, also the traditional reasoning behind this nice level is
that kernel threads do work on behalf of multiple tasks. Its a kind of
prio ceiling thing.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/