[RFC] question about hardware watchdogs

From: Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Date: Thu Aug 24 2000 - 20:09:28 EST


                I'm looking at drivers trying to fix some issues related to resource
allocation, getting rid of not needed panics, etc, when I saw this in

                if (card_status & WD_T110) {
                        printk("pcwd: Card senses a CPU Overheat. Panicking!\n");
                        panic("pcwd: CPU Overheat.\n");

Shouldn't it try to turn of the machine (APM, etc) or use machine_restart?
panic would just generate more heat 8) Ok, the admin can set a panic_timeout,
but in this case maybe it would be better to have a safer default policy, what
do you think?

                        - Arnaldo

PS.: The maintainer address is not working. Tried first in private mail.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:15 EST