From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Subject: Re: Question about hibernation Date: Fri, 18 Mar 2011 15:09:02 +0100 Message-ID: <201103181509.02943.oneukum@suse.de> References: <201101050927.53977.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: linux-pm@lists.linux-foundation.org Cc: Raj Kumar List-Id: linux-pm@vger.kernel.org Am Freitag, 18. M=E4rz 2011, 14:45:24 schrieb Raj Kumar: > = > Hi, > = > I have following question regarding the hibernation. If a device driver u= ses dedicated memory (dedicated memory in linux which is not OS addressable= e.g. device driver is using some pages from dedicated memory), When the sy= stem hibernates, will this be responsibility of device driver to save this = area = > or = > OS hibernation procedure save this area of ram (dedicated memory area) in= to swap image? If you got it from get_free_pages (at the end of a long call chain) the kernel saves it. If not, it is your problem. HTH Oliver