lkml.org 
[lkml]   [2006]   [Mar]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromCon Kolivas <>
SubjectRe: [PATCH][2/4] sched: add discrete weighted cpu load function
DateTue, 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]
\
 
 \ /
  Last update: 2006-03-13 23:55    [from the cache]
©2003-2008