Messages in this thread |  | | | From | Con Kolivas <> | | Subject | Re: [PATCH][2/4] sched: add discrete weighted cpu load function | | Date | Tue, 14 Mar 2006 09:52:51 +1100 | |
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
[unhandled content-type:application/pgp-signature] |  |