[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070417095303.GA25553@elte.hu>
Date: Tue, 17 Apr 2007 11:53:03 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Peter Williams <pwil3058@...pond.net.au>
Cc: linux-kernel@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Con Kolivas <kernel@...ivas.org>,
Nick Piggin <npiggin@...e.de>, Mike Galbraith <efault@....de>,
Arjan van de Ven <arjan@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>, caglar@...dus.org.tr,
Willy Tarreau <w@....eu>,
Gene Heskett <gene.heskett@...il.com>,
Dmitry Adamushko <dmitry.adamushko@...il.com>
Subject: Re: [patch] CFS (Completely Fair Scheduler), v2
* Peter Williams <pwil3058@...pond.net.au> wrote:
> Have you considered using rq->raw_weighted_load instead of
> rq->nr_running in calculating fair_clock? This would take the nice
> value (or RT priority) of the other tasks into account when
> determining what's fair.
>
> Peter
> PS You'd have to change the migration thread's load_weight from 0 to 1
> in order to prevent divide by zero without having to explicitly check
> for it every time.
yeah - nice idea, i'll try this.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists