Linux hibernation
Mulyadi Santosa
mulyadi.santosa at gmail.com
Mon Mar 14 13:13:15 EDT 2011
On Mon, Mar 14, 2011 at 15:19, Jacky Lam <lamshuyin at gmail.com> 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
More information about the Kernelnewbies
mailing list