Re: blink driver power saving

From: Andi Kleen
Date: Sun Jul 01 2007 - 17:30:45 EST


On Sunday 01 July 2007 20:07:21 Linus Torvalds wrote:
>
> On Sun, 1 Jul 2007, Stephen Hemminger wrote:
> >
> > The blink driver wakes up every jiffies which wastes power unnecessarily.
> > Using a notifier gives same effect. Also add ability to unload module.
>
> I really get the feeling this thing should be removed entirely. Wasting
> power is the _least_ of its problems.

What is so bad with it? Note it's a debugging facility and used
for kcrash kernels where the video output doesn't work. But they
normally only run a few minutes to dump the previous state to disk
and then reboot.

> I'll apply the patch, but I wonder if I should also just mark it BROKEN in
> the config file to make sure nobody enables it without realizing how bad
> it is to do so.

Well I suspect it will not work anymore after Stephen's patch
(or rather try to blink redundantly after panic which is quite dumb)
If that is your aim then it might be cleaner to remove it.

But then I don't think it hurts anybody. It's main problem
is that it won't blink for people with USB keyboard.

-Andi
-
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/