On Mon, Mar 14, 2011 at 15:19, Jacky Lam <[email protected]> wrote: > Hi all, > > I am looking at the source code 2.6.29 and find that Linux will > make a copy of used memory pages when doing hibernation. I am curious, > in this case, what Linux do if I have used over 50% of memory? Will > hibernation just fail? I think it is not possible, but I can't > understand from the code.
based on my experience, hibernation fails if swap can't hold the total size of anonymous pages plus certain kind of pages (such as mlock()-ed one, slab etc etc). -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com _______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
