From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Raj Kumar <rajkumar278@hotmail.com>
Cc: linux-pm@lists.linux-foundation.org
Subject: Re: Regarding the dedicated memory for hibernation
Date: Tue, 22 Mar 2011 21:36:40 +0100 [thread overview]
Message-ID: <201103222136.40903.rjw@sisk.pl> (raw)
In-Reply-To: <SNT117-W368129D3EED2DAB17547BFEBB40@phx.gbl>
On Tuesday, March 22, 2011, Raj Kumar wrote:
>
> Hi Rafael,
>
> I have one question regarding the dedicated memory(the memory that is not OS addressable).
What do you mean by not OS addressable?
> But when userspace does mmap, I am creating mapping for VMA to physical addresses that are in dedicated memory.
> The question is when system hibernates, will the OS kernel take care of this when creating hibernation image as mmap creates a virtual address space or device driver should explicity swap this memory(dedicated memory) in hibernation image?
The hibernate core saves everything that's regarded as RAM. The other memory
areas have to be saved by drivers (or generally subsystems) that manage them
before the image is created.
Thanks,
Rafael
prev parent reply other threads:[~2011-03-22 20:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-02 20:38 One issue regarding the run time power management Raj Kumar
2010-11-03 3:18 ` Rafael J. Wysocki
2010-11-07 16:31 ` Alan Stern
2010-11-08 23:27 ` Rafael J. Wysocki
2011-03-22 9:31 ` Regarding the dedicated memory for hibernation Raj Kumar
2011-03-22 20:36 ` Rafael J. Wysocki [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=201103222136.40903.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-pm@lists.linux-foundation.org \
--cc=rajkumar278@hotmail.com \
/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