Re: [PATCH][2/4] sched: add discrete weighted cpu load function

From: Con Kolivas
Date: Mon Mar 13 2006 - 17:50:34 EST


Peter Williams writes:

Con Kolivas wrote:
+unsigned long weighted_cpuload(const int cpu)
+{
+ return (cpu_rq(cpu)->raw_weighted_load);
+}
+

Wouldn't this be a candidate for inlining?

That would make it unsuitable for exporting via sched.h.

Cheers,
Con

Attachment: pgp00000.pgp
Description: PGP signature