kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: mulyadi.santosa@gmail.com (Mulyadi Santosa)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Linux hibernation
Date: Tue, 15 Mar 2011 00:13:15 +0700	[thread overview]
Message-ID: <AANLkTimD24cpNe--PF_T9StjQ24Ri5XgmFP8QS-c65cW@mail.gmail.com> (raw)
In-Reply-To: <4D7DCF8D.2090202@gmail.com>

On Mon, Mar 14, 2011 at 15:19, Jacky Lam <lamshuyin@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

      parent reply	other threads:[~2011-03-14 17:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14  8:19 Linux hibernation Jacky Lam
2011-03-14 10:20 ` Mandeep Sandhu
2011-03-14 11:12   ` Ozan Türkyılmaz
2011-03-14 11:24   ` Michelle Konzack
2011-03-14 12:32     ` Mandeep Sandhu
2011-03-15  7:50       ` Michelle Konzack
2011-03-15  7:58         ` Mulyadi Santosa
2011-03-15 10:02           ` Jacky Lam
2011-03-17 13:53         ` Mandeep Sandhu
2011-03-14 17:13 ` Mulyadi Santosa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimD24cpNe--PF_T9StjQ24Ri5XgmFP8QS-c65cW@mail.gmail.com \
    --to=mulyadi.santosa@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).