Commit Graph

9 Commits

Author SHA1 Message Date
martin
47869c118a Unlock correct mutex in an error path.
PR kern/48592 from Kengo NAKAHARA.
2014-02-12 20:20:15 +00:00
jruoho
67fcddd627 Revert the revision 1.5 in cpufreq(9). Instead, document that the KPI can
not be used before interrupts have been enabled. Suggested by macallan@.
2011-10-27 05:25:07 +00:00
christos
b00fe7a7a8 back to using timespec, but convert to microseconds to prevent overflow. 2011-10-25 18:26:09 +00:00
jruoho
a724a75283 Use microsecond rather than nanosecond resolution when sampling latencies. 2011-10-25 11:35:49 +00:00
jruoho
5d9e77ad94 Do not use xcall(9) in cpufreq_register(9), as it requires kthreads to be
running and may impose hacks like config_interrupts(9) in the backend.
2011-10-20 06:48:24 +00:00
jruoho
7f1b62e468 Remove redundant assignment. 2011-09-30 04:10:54 +00:00
jruoho
dd10cec68c Fix bugs noted by alnsn@. Namely, preallocate the global structure in
order to avoid locking issues during deregistration.
2011-09-30 04:01:21 +00:00
jruoho
8f43552059 Initialize cpufreq(9) normally from main(). 2011-09-28 15:52:47 +00:00
jruoho
a179648071 Add a simple cpufreq(9).
This is slightly improved version presented on tech-kern@ with proper
locking and few additional functions, mainly required for ioctl(9)/cpuctl(8).
2011-09-28 10:55:46 +00:00