When to improve kernel booting using hibernation [1], I found kernel initialized each component [2] took too much time.
One solution is to remove unnecessary module to save time. Another approach is to delay those modules until user space up. Then it won’t lost some features just because hopes to gain benefit on booting speed. This is very useful since hibernation’s trigger point is at the late_initcall [3]. Kernel doesn't need do much module initialize since hibernate will restore those module status later.
The detailed implementation is in the attached patch.
[1]: hibernation is a technique to store system memory content to storage. Then the device can be shutdown and read the content back after power on.
[2]: component means subsystem or driver.
[3]: Consult kernel/power/hibernate.c, software_resume
Hello jay tu
I am trying to implement hibernation on android 2.3 using freescale QSB board.
On linux file system it is working fine.
But when I switch to android while resume it hangs/crashes.
Could you please help on this.
With Regards,
Prashant