Hi. I can see that the idea of writing a kernel image from using another kernel sounds nice and clean initially, but the more we get into the details (yes, I am listening, even though I said nothing before now), the more it's sounding like the cure is worse than the disease. To get rid of process freezing, we're talking about: * making hibernation depend on depriving the user of 32 or 64M of otherwise perfectly usable memory (thereby making hibernation on machines with less memory impossible) * requiring them to set up kexec or kdump (I don't understand the difference, sorry) or some new variation * adding interfaces to tell kexec/dump/whatever what pages need to be saved and reloaded * adding convolutions in which at resume time we boot one kernel, switch to another kernel to do the loading and then switch back again to the resumed kernel (assuming I understand what you're suggesting). It all sounds terribly complicated and confusing to me, and that's before I even begin to think about how this second kernel could possibly write the image to an encrypted device or LVM or such like that the first kernel knows about and might use now. Can't we just get the freezer right and be done with it? Regards, Nigel
Attachment:
signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: A kexec approach to hibernation
- From: Jeremy Maitin-Shepard <[email protected]>
- Re: A kexec approach to hibernation
- From: "Rafael J. Wysocki" <[email protected]>
- Re: A kexec approach to hibernation
- References:
- A kexec approach to hibernation
- From: Jeremy Maitin-Shepard <[email protected]>
- Re: A kexec approach to hibernation
- From: "Rafael J. Wysocki" <[email protected]>
- Re: A kexec approach to hibernation
- From: Jeremy Maitin-Shepard <[email protected]>
- Re: A kexec approach to hibernation
- From: "Rafael J. Wysocki" <[email protected]>
- Re: A kexec approach to hibernation
- From: Jeremy Maitin-Shepard <[email protected]>
- Re: A kexec approach to hibernation
- From: Vivek Goyal <[email protected]>
- A kexec approach to hibernation
- Prev by Date: Re: [patch 2/2] ufd v1 - use unsequential O(1) fdmap
- Next by Date: Re: BUG: sleeping function called from invalid context at kernel/fork.c:385
- Previous by thread: Re: A kexec approach to hibernation
- Next by thread: Re: A kexec approach to hibernation
- Index(es):