Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2004 19:19:54 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Nate Lawson <njl@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/acpica acpi_thermal.c 
Message-ID:  <2249.1075745994@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 02 Feb 2004 10:03:35 PST." <200402021803.i12I3ZJW016336@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200402021803.i12I3ZJW016336@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2249.1075745994>