Home
last modified time | relevance | path

Searched hist:"4 c0b6c10fbaf0c82efe2a7ba6c236c633d4f2ed7" (Results 1 – 3 of 3) sorted by relevance

/linux/kernel/power/
H A Dpower.hdiff 4c0b6c10fbaf0c82efe2a7ba6c236c633d4f2ed7 Sun Jul 10 02:12:10 CEST 2016 Rafael J. Wysocki <rafael.j.wysocki@intel.com> PM / hibernate: Image data protection during restoration

Make it possible to protect all pages holding image data during
hibernate image restoration by setting 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.

Also it only is built if CONFIG_DEBUG_RODATA is set.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
H A Dhibernate.cdiff 4c0b6c10fbaf0c82efe2a7ba6c236c633d4f2ed7 Sun Jul 10 02:12:10 CEST 2016 Rafael J. Wysocki <rafael.j.wysocki@intel.com> PM / hibernate: Image data protection during restoration

Make it possible to protect all pages holding image data during
hibernate image restoration by setting 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.

Also it only is built if CONFIG_DEBUG_RODATA is set.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
H A Dsnapshot.cdiff 4c0b6c10fbaf0c82efe2a7ba6c236c633d4f2ed7 Sun Jul 10 02:12:10 CEST 2016 Rafael J. Wysocki <rafael.j.wysocki@intel.com> PM / hibernate: Image data protection during restoration

Make it possible to protect all pages holding image data during
hibernate image restoration by setting 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.

Also it only is built if CONFIG_DEBUG_RODATA is set.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>