freebsd-skq/sys/contrib
Nate Lawson 0d4ac62a35 Add an interface for drivers to be notified of changes to CPU frequency.
cpufreq_pre_change is called before the change, giving each driver a chance
to revoke the change.  cpufreq_post_change provides the results of the
change (success or failure).  cpufreq_levels_changed gives the unit number
of the cpufreq device whose number of available levels has changed.  Hook
in all the drivers I could find that needed it.

* TSC: update TSC frequency value.  When the available levels change, take the
highest possible level and notify the timecounter set_cputicker() of that
freq.  This gets rid of the "calcru: runtime went backwards" messages.
* identcpu: updates the sysctl hw.clockrate value
* Profiling: if profiling is active when the clock changes, let the user
know the results may be inaccurate.

Reviewed by:	bde, phk
MFC after:	1 month
2007-03-26 18:03:29 +00:00
..
altq/altq Add an interface for drivers to be notified of changes to CPU frequency. 2007-03-26 18:03:29 +00:00
dev Merge from vendor branch to fix tinderbox breakage. 2007-03-22 21:23:29 +00:00
ia64/libuwx Apply local modifications to make Unwind Express BETA 10 buildable and 2006-07-07 23:56:34 +00:00
ipfilter/netinet TCP Window scaling was being recognised but the recorded settings were being 2006-12-24 02:18:36 +00:00
ngatm
pf Teach pfsync(4) that its member interfaces may go away. 2007-03-19 17:52:15 +00:00