Re: [PATCH v2] x86 / hibernate: Use hlt_play_dead() when resuming from hibernation

From: Ingo Molnar
Date: Thu Jul 14 2016 - 04:57:36 EST



* Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:

> A new version here.
>
> I prefer this one, because it only adds any overhead if hibernation is actually
> used, but then it is a bit more of a hack.
>
> If you prefer the previous one, please let me know.
>
> ---
> arch/x86/include/asm/smp.h | 1 +
> arch/x86/kernel/smpboot.c | 2 +-
> arch/x86/power/cpu.c | 30 ++++++++++++++++++++++++++++++
> kernel/power/hibernate.c | 7 ++++++-
> kernel/power/power.h | 2 ++
> 5 files changed, 40 insertions(+), 2 deletions(-)

Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>

Thanks,

Ingo