Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1457111

Re: [PATCH] PM / hibernate: Image data protection during restoration

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH] PM / hibernate: Image data protection during restoration
Date 2016-08-05 15:50 +0200
Message-ID <s2NFE-8dj-31@gated-at.bofh.it> (permalink)
References <rRxNT-2Nz-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 2016-07-05 14:34:38, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> 
> Make it possible to protect all pages holding image data during
> hibernate image restoration by marking them read-only (so as to
> catch attempts to write to those pages after image data have been
> stored in them).
> 
> This adds overhead to image restoration code (it may cause large
> page mappings to be split as a result of page flags changes) and
> the errors it protects against should never happen in theory, so
> the feature is only active after passing hibernate=protect_image
> to the command line of the restore kernel.
> 
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Acked-by: Pavel Machek <pavel@ucw.cz>

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] PM / hibernate: Image data protection during restoration Pavel Machek <pavel@ucw.cz> - 2016-08-05 15:50 +0200

csiph-web