| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Requested by: nate
|
| |
|
| |
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
| |
Discussed with: ru
|
| |
|
| |
|
|
|
|
|
|
| |
be killed when the parent exits.
Submitted by: Rudolf Cejka <cejkar / fit.vutbr.cz>
|
| |
|
|
|
|
|
|
|
|
| |
the parent's signal mask. Once daemon() forked, signals would be ignored
in the child thread. While I'm here, check the return value of daemon().
This fixes termination in the daemon case (bug introduced in last commit).
Noticed by: Frederik Lindberg
|
|
|
|
|
|
|
|
|
|
|
|
| |
status. Add a thread that waits for events on the named pipe instead of
polling the line status via apm or the ACPI sysctl. Additionally, use
robust error handling in case devd goes away or we temporarily can't set
a frequency (i.e., passive cooling has preempted our setting).
Later, this should be improved so that if adaptive control is not being used,
we will block while waiting for AC line events, saving a little CPU.
Submitted by: Frederik Lindberg <fli+freebsd-current/shapeshifter.se>
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
| |
Reported by: Steve Kargl <sgk@troutmask.apl.washington.edu>
|
| |
|
|
|
|
|
|
|
|
| |
and Kevin Oberman for this work.
Submitted by: Kevin Oberman
Reviewed by: njl
Approved by: njl
|
|
|
|
|
|
|
| |
try to start it without this.
Submitted by: Philip S. Schulz
MFC after: 2 days
|
|
|
|
|
|
| |
is active.
Reviewed by: njl
|
|
|
|
| |
Approved by: re
|
|
|
|
|
| |
cycle too much, wasting power if we trigger a jump to full speed too
easily. CPU-bound tasks quickly push idle below this level.
|
|
|
|
|
|
| |
verbose mode. This is useful for profiling new adaptive algorithms
in performance (via time(1)) and total energy consumed for a given
workload.
|
| |
|
|
|
|
|
| |
ifdef __i386__ stuff for APM. Tested as working correctly on i386 and
compile-tested on sparc64.
|
|
|
|
| |
on APM on other platforms.
|
|
|
|
|
|
| |
with moderate IO going on, system usage can hover around 65-77% even
though it would benefit from higher performance. Typically, only truly
idle systems pass the 90% mark so only demote then.
|
|
|
|
| |
Pointed out by: ru
|
|
just uses cpufreq(4) but in the future it should also do things like spin
down disks. This is based on the work by Colin Percival (called "estctrl").
|