Andriy Gapon 40934baa60 hwpstate: use CPU_FOREACH when binding to all available processors
Also, add a comment mentioning _PSD - on some systems it's enough to
put one logical CPU into a particular P-state to make other CPUs in
the same domain to enter that P-state.

Also, call sched_unbind() after the loop - sched_bind() automatically
rebinds from previous CPU to a new one, and the new arrangement of code
is safer against early loop exit.

Plus one minor style nit.

MFC after:	10 days
2010-11-16 12:43:45 +00:00
..
2010-11-16 12:30:47 +00:00
2010-11-15 23:14:14 +00:00
2010-11-08 21:22:55 +00:00
2010-07-12 10:18:10 +00:00
2010-11-09 10:59:09 +00:00