Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Huang, Ying <ying.huang@...>
Cc: Eric W. Biederman <ebiederm@...>, Pavel Machek <pavel@...>, <nigel@...>, Andrew Morton <akpm@...>, Jeremy Maitin-Shepard <jbms@...>, <linux-kernel@...>, <linux-pm@...>, Kexec Mailing List <kexec@...>
Date: Monday, November 19, 2007 - 2:22 pm

On Monday, 19 of November 2007, Huang, Ying wrote:

hibernation_platform_enter() should be used here (as of the current mainline).


Hm, what's the difference between the above function and power_down(),
actually?


I wonder if it's viable to merge the above with hibernate() and
hibernation_snapshot() somehow, to avoid code duplication?


It looks like machine_kexec_jump() simply replaces the call to
swsusp_arch_suspend() in create_image().  Is it really necessary to duplicate
all that code?


Same here.  Much of the code in this function duplicates the existing code.  Is
this really necessary?


Apart from the above, there's some new debug code to be added to disk.c
in 2.6.25.  It's in the ACPI test tree right now and you can get it as
individual patches from:
http://www.sisk.pl/kernel/hibernation_and_suspend/2.6.24-rc2/patches/
(patches 10-12).

Please base your changes on top of that.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hiber..., Rafael J. Wysocki, (Mon Nov 19, 2:22 pm)
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hiber..., Rafael J. Wysocki, (Mon Nov 19, 10:24 pm)
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hiber..., Rafael J. Wysocki, (Tue Nov 20, 8:00 pm)
Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hiber..., Rafael J. Wysocki, (Wed Nov 21, 4:09 pm)
Re: [linux-pm] Re: [PATCH 3/3 -mm] kexec based hibernation -..., Rafael J. Wysocki, (Tue Nov 20, 8:00 pm)