Re: [PATCH -mm 2/2] kexec jump -v12: save/restore device state



On Mon, Jul 07, 2008 at 11:25:24AM +0800, Huang Ying wrote:
This patch implements devices state save/restore before after kexec.


This patch together with features in kexec_jump patch can be used for
following:

- A simple hibernation implementation without ACPI support. You can
kexec a hibernating kernel, save the memory image of original system
and shutdown the system. When resuming, you restore the memory image
of original system via ordinary kexec load then jump back.

- Kernel/system debug through making system snapshot. You can make
system snapshot, jump back, do some thing and make another system
snapshot.

- Cooperative multi-kernel/system. With kexec jump, you can switch
between several kernels/systems quickly without boot process except
the first time. This appears like swap a whole kernel/system out/in.

- A general method to call program in physical mode (paging turning
off). This can be used to invoke BIOS code under Linux.


Huang,

You have cited various possible use cases of this patchset. Which is
the specific feature you are planning to use?

Thinking more about it, what's the compelling feature out of this list
which makes this patchset a strong candidate for inclusion?

Regarding hibernation, Rafael does not think this is the way to go
for future.

Regarding ability to have two kernels in memory at the same time and
be able to jump between these two looks like a cool feature but who
is actually planning to use it?

So I am curious to know, which is the compelling feature you are planning
to use?

Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH -mm 2/2] kexec jump -v12: save/restore device state
    ... the specific feature you are planning to use? ... Do kdump then continue ... Regarding hibernation, Rafael does not think this is the way to go ... I think kexec based hibernation can be a better hibernation scheme, ...
    (Linux-Kernel)
  • Re: RAM Reg EWF with hibernation questions
    ... I think HORM is not a complete embedded feature but rather just one of good use of hibernation and EWF. ... If this was well documented that could open many possibilities for extending XPe OS ...
    (microsoft.public.windowsxp.embedded)
  • Re: Screen blacks out
    ... The hybrid sleep feature and the hibernation feature in Windows Vista may become unavailable after you use the Disk Cleanup Tool: http://support.microsoft.com/kb/928897 ... It's not a hibernation problem, I don't think, because I've ... the computer may not shut down or it doesn't fully turn on. ... light bulb would turn green, ...
    (microsoft.public.windows.vista.general)
  • Re: pagefil.sys and hiberfil.sys
    ... by your hibernation power feature. ... or powering up from hibernation. ... memory size feature. ...
    (microsoft.public.windowsxp.general)
  • Re: Vista x64 Failed Hibernation
    ... The hybrid sleep feature and the hibernation feature in Windows Vista may become unavailable after you use the Disk Cleanup Tool: http://support.microsoft.com/kb/928897 ... It came with Vista x64 pre-installed. ...
    (microsoft.public.windows.vista.general)