[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070222081920.GA16089@elte.hu>
Date: Thu, 22 Feb 2007 09:19:20 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Eric Dumazet <dada1@...mosbay.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH, take 2] Speedup divides by cpu_power in scheduler
* Eric Dumazet <dada1@...mosbay.com> wrote:
> Ingo suggested to rename cpu_power to __cpu_power to make clear it
> should not be modified without changing its reciprocal value too.
thanks,
Acked-by: Ingo Molnar <mingo@...e.hu>
> I did not convert the divide in cpu_avg_load_per_task(), because
> tracking nr_running changes may be not worth it ? We could use a
> static table of 32 reciprocal values but it would add a conditional
> branch and table lookup.
not worth it i think. Lets wait for it to show up in an oprofile? (if
ever)
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