[RFC PATCH v5] ARM hibernation / suspend-to-disk (fwd)
From: Will Deacon <hidden>
Date: 2011-06-29 20:08:20
From: Will Deacon <hidden>
Date: 2011-06-29 20:08:20
Hi Frank, On Wed, Jun 29, 2011 at 04:14:23PM +0100, Frank Hofmann wrote:
Have you seen Will Deacon's suggested kexec changes ? That keeps a "reset stack" page around, _elsewhere_, and I've been considering using that. In the end, all swsusp_arch_resume() really requires is a stack page that's guaranteed to be outside the target kernel data, thereby left alone by the restore. __nosavedata is merely one way.
For what it's worth, in v4 of that series (hopefully I'll post it soon) I'm starting to think about SMP kexec which necessitates that the reserved stack page is placed in a fixed location. I'm planning to memblock_reserve the page immediately below swapper for this. Will