Some months ago, Jens Axboe posted a "laptop mode" patch for the 2.4 kernel. That patch had never been ported forward to 2.6, until now. Bart Samwel has picked up the laptop mode baton and posted several versions of a 2.6 patch; the latest, as of this writing, is version 6.
The purpose of the patch is to allow laptop users to get the greatest amount of time out of their batteries by minimizing the time the disk spends spinning. Any Linux conference attendee who has ever lost the race for the available power outlets can't help but appreciate this idea. To keep the disk idle, the patch (along with an associated script) changes system behavior in the following ways:
几个月前,Jens Axboe 为 2.4 内核发布了一个 “laptop mode(笔记本模式)” 补丁。该补丁此前从未被移植到 2.6 内核,直到现在。Bart Samwel 接过了 laptop mode 的接力棒,并发布了多个版本的 2.6 补丁;截至目前,最新版本为第 6 版。
该补丁的目的是最大程度延长笔记本电脑电池续航时间,其方式是尽量减少磁盘的转动时间。任何参加过 Linux 会议并输掉电源插座争夺战的人,都会对这个主意表示赞赏。为了让磁盘