]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set levels on all CPUs and attach a cpufreq device to each one. Sysctl
authornjl <njl@FreeBSD.org>
Sun, 13 Feb 2005 17:31:56 +0000 (17:31 +0000)
committernjl <njl@FreeBSD.org>
Sun, 13 Feb 2005 17:31:56 +0000 (17:31 +0000)
commit29d152dbfd1048f4b7757558292eb64dc98f0d8b
treeb33ccc409b6eca3848fafa63c79b7b41cd6535ea
parent8466ce70d679e11580f8b390a8b031eae8b852ed
Set levels on all CPUs and attach a cpufreq device to each one.  Sysctl
on dev.cpu.0 will affect all of the CPUs together.  In the future,
independent control will be supported but this is good enough for now.
Check that the timecounter isn't TSC before switching (from Colin Percival.)
sys/kern/kern_cpu.c