Re: Allow userspace do something special on overtemp

From: Len Brown
Date: Thu Aug 12 2004 - 17:58:06 EST


On Thu, 2004-08-12 at 16:24, Pavel Machek wrote:
> Hi!
>
> > > > I think I'd rather see the calls to usermode deleted
> > > > instead of extended -- unless there is a reason that
> > > > the general event -> acpid method can't work.
> > >
> > > See above, switching to acpid would break all the existing
> > > setups... in stable series.
> >
> > ah, the price of progress.
> >
> > I'm confident that the distros can figure out how to
> > update the (neglected) acpid scripts at the same time as
> > (or before) the kernel update.
>
> * not everyone is running distro
>
> * people update their kernels more often then their distros
>
> * not everyone wants to run acpid or equivalent (I don't, for example)
>
> * it is still change in stable series.

> * it is pretty subtle change, you are not going to notice it is broken
> unless you actually run critical.
>
> > If they can't, then ACPI critical shutdown will fail
> > (maybe on some systems not such a bad thing;-)
> > and TM1 will kick in, and if that doesn't work, TM2
> > will kick in, and if that doesn't work the processor
> > will disable itself.
>
> hmm, yes, but it still would be nice to properly shutdown instead of
> fail.

The reality is that most of the critical temperature events
are false positives, and for those that are not, the hardware
will keep itself from burning even when the OS control fails.

If we confuse some self-supporting kernel types, that is too bad.
If they're supporting themselves, they should read the change logs
for the kernels that they download. I don't think
this is of a magnitude that it needs to wait for 2.7 to be fixed.

-Len


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/