Re: Attempt at laptop-mode for 2.6.0

From: Jens Axboe
Date: Tue Dec 23 2003 - 11:40:56 EST


On Tue, Dec 23 2003, Bart Samwel wrote:
> Hi guys,
>
> Even though I don't own a laptop, I find it very irritating that my hard
> drive is active so much. Wanting to fix this, I found the Jens Axboe's
> "laptop-mode" patch. Unfortunately it hadn't been ported to Linux
> 2.6.0 yet, and I'm using that as my primary kernel now. I gave porting
> it a shot, and here is the result. I'm running it right now, and my hard
> drive has been spun down for the complete time I have been writing this
> message. Still, I'm not sure whether it really works as advertised. :)
> The reason is that my PC is also a mail server for my personal e-mail,
> and I receive e-mails more than once every 10 minutes (fscking spam!).
> Still, the tests that I've done seem to indicate that it works.

Thanks for getting this started. I'm not particularly fond of the
behaviourial changes you made, I guess most are due to it being
incomplete?

The block dirtying is the most interesting aspect of the dump
functionality, reporting WRITEs don't give you the info you need
to fix your setup.

Jens

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