Thread (25 messages) 25 messages, 4 authors, 2015-12-18
STALE3839d

[PATCH v3 09/10] PM / Hibernate: Publish pages restored in-place to arch code

From: Pavel Machek <hidden>
Date: 2015-12-05 09:35:34
Also in: linux-pm

On Thu 2015-11-26 17:32:47, James Morse wrote:
Some architectures require code written to memory as if it were data to be
'cleaned' from any data caches before the processor can fetch them as new
instructions.

During resume from hibernate, the snapshot code copies some pages directly,
meaning these architectures do not get a chance to perform their cache
maintenance. Create a new list of pages that were restored in place, so
that the arch code can perform this maintenance when necessary.
Umm. Could the copy function be modified to do the neccessary
flushing, instead?

Alternatively, can you just clean the whole cache before jumping to
the new kernel?
								Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help