Re: [patch 0/9] x86, xsave: xsave/xrstor support

From: Suresh Siddha
Date: Thu Jul 31 2008 - 18:19:40 EST


On Thu, Jul 31, 2008 at 03:14:35PM -0700, Andi Kleen wrote:
> > Kernel was enabling watchdog, with out the userspace having the
> > heartbeat daemon....
>
> Watchdog are normally only armed when someone opens the device
> first.

But thats not what I see with for ex with, w83627hf_wdt.c

Its done at the module_init time. (while I thought it should be
really done when some user level app opens the device, probably
its poorly written to take care if the kernel panics before starting userland.
but kernel can even die before the watchdog driver load aswell ;-)
--
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/