1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/x86/cpufreq
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
..
est.c Few whitespace cleanups and comments tunings. 2010-09-16 02:59:25 +00:00
hwpstate.c hwpstate: use CPU_FOREACH when binding to all available processors 2010-11-16 12:43:45 +00:00
p4tcc.c
powernow.c
smist.c