Hard drive protection
Posted Oct 13, 2005 6:55 UTC (Thu) by lienha_r
In reply to: Hard drive protection
Parent article: Hard drive protection
The problem is that you need quite a few heuristics in order to determine if the laptop really is falling: the sensors generate a lot of noise and it is not trivial to determine what is exactly happening. Imagine you're in a train, which is a typical situation where the laptop often receives little bumps. Would you like the disk head to park every 2 seconds?
For the paging problem, a simple solution is to mlock() the user-space program (that problem was also raised on the LKML) and to nice() it to a negative value.
to post comments)