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: Rafael J. Wysocki <rjw@...>
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 - 9:56 pm

On Mon, 2007-11-19 at 19:22 +0100, Rafael J. Wysocki wrote:

The power_down will be called with interrupt disabled, device suspended,
non-boot CPU disabled. But the latest hibernate_platform_enter calls the
device_suspend, disable_nonboot_cpus etc function. So, I use
hibernation_ops->enter() directly instead of
hibernation_platform_enter().


Same as above.


Yes. Most code are duplicated. But there is one advantage not to merge
them: power_down can called with IRQ disabled to make it possible to
eliminate the freezer.

I think it is possible to merge the two implementation. I will try to do
it.


OK, I will do it.

Best Regards,
Huang Ying
-
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..., Huang, Ying, (Mon Nov 19, 9:56 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)