On Fri, 2013-04-19 at 10:25 +0200, Ingo Molnar wrote: > It might eventually make sense to integrate the 'average load' > calculation as well > with all this - as they really have a similar purpose, the avenload[] > vector of > averages is conceptually similar to the rq->cpu_load[] vector of > averages.
The /proc/loadavg definition isn't useful for anything remotely sane wrt load-balancing or otherwise, so I don't really see that integration happening (its a measure of how many tasks are blocked, where the load-balancer needs a measure of how many tasks are wanting to run). But yeah, sched/proc.c or sched/proc_loadavg.c works for me. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/