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:
pgpb3xbLpWDqF.pgp
Description: PGP signature
- Follow-Ups:
- Re: [PATCH][2/4] sched: add discrete weighted cpu load function
- From: Peter Williams <[email protected]>
- Re: [PATCH][2/4] sched: add discrete weighted cpu load function
- From: Peter Williams <[email protected]>
- Re: [PATCH][2/4] sched: add discrete weighted cpu load function
- References:
- [PATCH][2/4] sched: add discrete weighted cpu load function
- From: Con Kolivas <[email protected]>
- Re: [PATCH][2/4] sched: add discrete weighted cpu load function
- From: Peter Williams <[email protected]>
- [PATCH][2/4] sched: add discrete weighted cpu load function
- Prev by Date: Re: [ck] Re: Faster resuming of suspend technology.
- Next by Date: Crash when bunring CD/DVD
- Previous by thread: Re: [PATCH][2/4] sched: add discrete weighted cpu load function
- Next by thread: Re: [PATCH][2/4] sched: add discrete weighted cpu load function
- Index(es):