cvs commit: src/sys/dev/acpica acpi_thermal.c
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Feb 2 10:19:57 PST 2004
In message <200402021803.i12I3ZJW016336 at repoman.freebsd.org>, Nate Lawson write
s:
>njl 2004/02/02 10:03:35 PST
>
> FreeBSD src repository
>
> Modified files:
> sys/dev/acpica acpi_thermal.c
> Log:
> If the temperature is at _HOT or _CRT for 3 sequential readings, shutdown
> the system.
I realize that this is an important feature to preserve the hardware,
but I still find it rather draconian, and suboptimal from a UI
perspective.
Could we change it to be:
after N seconds: go to single user.
after N + M seconds: shutdown.
This would normally allow X11 to shut down cleanly, which again
means we can printf a message to the user about what is happening
instead of simply going black screen on them.
It would also save people some fsck'ing subsequently.
I realize there is a rainbow of bikeshed proposals about not
scheduling non-root/userland/cpu-hog processes etc etc etc.
Apart from the fact that it is merely sugarcoating the broccoli,
we are not geared for that scheduler-wise and we should not add
features to our schedulers until the current issues with them have
been solved and settled.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the cvs-src
mailing list