Date: Tue, 30 Aug 2005 11:12:28 -0700 From: Nate Lawson <nate@root.org> To: Hajimu UMEMOTO <ume@FreeBSD.org> Cc: acpi@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_cpu.c Message-ID: <4314A18C.20701@root.org> In-Reply-To: <ygehdd773fw.wl%ume@mahoroba.org> References: <20050830044536.C0AB416A4C6@hub.freebsd.org> <4313E5C5.5060005@root.org> <ygehdd773fw.wl%ume@mahoroba.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hajimu UMEMOTO wrote: >>>>>>On Mon, 29 Aug 2005 21:51:17 -0700 >>>>>>Nate Lawson <nate@root.org> said: > nate> If this commit gives you problems, please set debug.cpufreq.verbose=1 > nate> and send me the output along with sysctl dev.cpu. It should reduce the > nate> levels the same as Tijl's patch. I took a very slightly different > nate> implementation approach but the code is mostly his. Thanks! > > I applied the diff to latest RELENG_6. I believe it is equivalent to > HEAD's kern_cpu.c. > After applying the diff, the order of freq_level is apparently > strange: > > dev.cpu.0.freq_levels: 1200/5000 1050/4375 900/3750 750/3125 600/2500 450/1875 300/1250 150/625 1100/4700 962/4112 825/3525 687/2937 550/2350 412/1762 275/1175 137/587 1000/4300 875/3762 750/3225 625/2687 500/2150 375/1612 250/1075 125/537 900/4000 787/3500 675/3000 562/2500 450/2000 337/1500 225/1000 112/500 800/3700 700/3237 600/2775 500/2312 400/1850 300/1387 200/925 100/462 600/3000 525/2625 450/2250 375/1875 300/1500 225/1125 150/750 75/375 Yep, that's incorrect. I'll look at your debug output and commit a fix. -- Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4314A18C.20701>