cvs commit: src/sys/kern kern_cpu.c

Kevin Oberman oberman at es.net
Mon Feb 14 18:26:34 GMT 2005


> From: Nate Lawson <njl at FreeBSD.org>
> Date: Mon, 14 Feb 2005 18:16:35 +0000 (UTC)
> Sender: owner-cvs-all at freebsd.org
> 
> njl         2005-02-14 18:16:35 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_cpu.c 
>   Log:
>   Implement priorities.  This allows a driver (say, for cooling purposes) to
>   override the current freq level temporarily and restore it when the
>   higher priority condition is past.  Note that only the first overridden
>   value is saved.  Callers pass NULL to CPUFREQ_SET to restore the saved
>   level.  Priorities are not yet used so this commit should have no effect.

Thank you!

Just this morning I was thinking of writing a tool to do this and you
just made it a lot simpler. \

NOTE: This is no a commitment to write anything. It's all dependent on
my free time which has been very limited of late.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634


More information about the cvs-all mailing list