For hard disk protection, I prefer the idea of the userspace code thawing the drive based on current accelerometer data, rather than simply waking up after x seconds (maybe you're running for a bus rather than falling off a table)...Emergency head parker needs to be pagelocked for other reasons. You doPlease make it "echo 1 > frozen", then userspace can do "echo 0 > frozen"What if the code to do "echo 0 > frozen" is swapped out to disk? ;)
after five seconds.
not want to page it from disk while your notebook is in free fall.
It's still a very bad idea imho, what if the head parker daemon is
killed for other reasons? The automatic timeout thawing the drive is
much saner.