This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What *is* the API for sched_getaffinity? Should sched_getaffinity always succeed when using cpu_set_t?


On 07/19/2013 03:27 PM, KOSAKI Motohiro wrote:
>> I think that on ARM, with CPUs offline, _SC_NPROCESSORS_ONLN should
>> still count those CPUs if they are going to be put back online once
>> load goes up.
> 
> I agree. example, x86 report the cpu is online even if it is deep sleep state
> for power saving. If ARM has complete different policy, applications have no
> way to write a portable code.
> 
> Or, is there any good and arm specific reason to make different?

I don't think any of this is ARM specific.

It is another factor that must be considered when making global
changes to glibc code.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]