public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hibernate: Correct documentation
       [not found] <136862945.66DBfZPmr6@vostro.rjw.lan>
@ 2013-05-13 12:00 ` Borislav Petkov
  2013-05-14  6:34   ` Rob Landley
  0 siblings, 1 reply; 3+ messages in thread
From: Borislav Petkov @ 2013-05-13 12:00 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: linux-pm, paulmck, LKML, Borislav Petkov, Bjørn Mork

From: Borislav Petkov <bp@suse.de>

Correct the meaning of PM_HIBERNATION_PREPARE in the docs, as per
Rafael.

Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Bjørn Mork <bjorn@mork.no>
Link: http://lkml.kernel.org/r/20130512162717.GA6305@pd.tnic
Signed-off-by: Borislav Petkov <bp@suse.de>
---
 Documentation/power/notifiers.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/power/notifiers.txt b/Documentation/power/notifiers.txt
index c2a4a346c0d9..a81fa254303d 100644
--- a/Documentation/power/notifiers.txt
+++ b/Documentation/power/notifiers.txt
@@ -15,8 +15,10 @@ A suspend/hibernation notifier may be used for this purpose.
 The subsystems or drivers having such needs can register suspend notifiers that
 will be called upon the following events by the PM core:
 
-PM_HIBERNATION_PREPARE	The system is going to hibernate or suspend, tasks will
-			be frozen immediately.
+PM_HIBERNATION_PREPARE	The system is going to hibernate, tasks will be frozen
+			immediately. This is different from PM_SUSPEND_PREPARE
+			below because here we do additional work between notifiers
+			and drivers freezing.
 
 PM_POST_HIBERNATION	The system memory state has been restored from a
 			hibernation image or an error occurred during
-- 
1.8.3.rc0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] hibernate: Correct documentation
  2013-05-13 12:00 ` [PATCH] hibernate: Correct documentation Borislav Petkov
@ 2013-05-14  6:34   ` Rob Landley
  2013-05-14  7:42     ` Borislav Petkov
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Landley @ 2013-05-14  6:34 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Rafael J. Wysocki, linux-pm, paulmck, LKML, Borislav Petkov,
	Bjørn Mork

On 05/13/2013 07:00:03 AM, Borislav Petkov wrote:
> From: Borislav Petkov <bp@suse.de>
> 
> Correct the meaning of PM_HIBERNATION_PREPARE in the docs, as per
> Rafael.
> 
> Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
> Cc: Bjørn Mork <bjorn@mork.no>
> Link: http://lkml.kernel.org/r/20130512162717.GA6305@pd.tnic
> Signed-off-by: Borislav Petkov <bp@suse.de>
> ---
>  Documentation/power/notifiers.txt | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/power/notifiers.txt  
> b/Documentation/power/notifiers.txt
> index c2a4a346c0d9..a81fa254303d 100644
> --- a/Documentation/power/notifiers.txt
> +++ b/Documentation/power/notifiers.txt
> @@ -15,8 +15,10 @@ A suspend/hibernation notifier may be used for  
> this purpose.
>  The subsystems or drivers having such needs can register suspend  
> notifiers that
>  will be called upon the following events by the PM core:
> 
> -PM_HIBERNATION_PREPARE	The system is going to hibernate or  
> suspend, tasks will
> -			be frozen immediately.
> +PM_HIBERNATION_PREPARE	The system is going to hibernate, tasks  
> will be frozen
> +			immediately. This is different from  
> PM_SUSPEND_PREPARE
> +			below because here we do additional work  
> between notifiers
> +			and drivers freezing.

Additional work such as...?

Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] hibernate: Correct documentation
  2013-05-14  6:34   ` Rob Landley
@ 2013-05-14  7:42     ` Borislav Petkov
  0 siblings, 0 replies; 3+ messages in thread
From: Borislav Petkov @ 2013-05-14  7:42 UTC (permalink / raw)
  To: Rob Landley
  Cc: Rafael J. Wysocki, linux-pm, paulmck, LKML, Borislav Petkov,
	Bjørn Mork

On Tue, May 14, 2013 at 01:34:31AM -0500, Rob Landley wrote:
> Additional work such as...?

Additional work such as "go look at the code if you're really
interested."

-- 
Regards/Gruss,
    Boris.

Sent from a fat crate under my desk. Formatting is fine.
--

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-05-14  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <136862945.66DBfZPmr6@vostro.rjw.lan>
2013-05-13 12:00 ` [PATCH] hibernate: Correct documentation Borislav Petkov
2013-05-14  6:34   ` Rob Landley
2013-05-14  7:42     ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox