Re: Enhanced SpeedStep driver available

Colin Percival <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
At 17:19 16/08/2004, Arne Schwabe wrote:
>Colin Percival <[email protected]> writes:
>>   Thanks to everyone who has been sending me data about their
>> processors (and in particular, the 90nm versions), I now have
>> a first draft of a Enhanced SpeedStep driver available.  [...]
>
>[2:14]arne@kamino:~/tmp/estctrl% sudo sysctl hw.est_curfreq=1600
>hw.est_curfreq: 600 -> 600
>[2:14]arne@kamino:~/tmp/estctrl% sudo sysctl hw.est_curfreq=1600
>hw.est_curfreq: 1600 -> 1600
>
>For some reason, the message when I set cpu freq higher does not work

I think I know what cases this: It takes a few microseconds for the
processor to change frequencies, and sysctl(8) is checking the new
value too soon.  I've added a small delay before returning from the
sysctl handler; this should make it impossible for this race to occur.

I've put an updated version online; could you try it and tell me if
this problem goes away?

Colin Percival


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.