From: Pavel Machek <pavel@suse.cz>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: LKML <linux-kernel@vger.kernel.org>, Linux PM <linux-pm@osdl.org>
Subject: Re: [RFC][PATCH] PM: Use suspend_console in swsusp and make it configureable
Date: Wed, 16 Aug 2006 12:41:43 +0200 [thread overview]
Message-ID: <20060816104143.GC9497@elf.ucw.cz> (raw)
In-Reply-To: <200608151509.06087.rjw@sisk.pl>
Hi!
> The appended patch does the following:
>
> 1) Adds suspend_console() and resume_console() to the suspend-to-disk code
> paths so that people using netconsole are safe with swsusp.
> 2) Adds a Kconfig option allowing us to disable suspend_/resume_console()
> if need be.
Slightly ugly, but I guess that is the way to go.
> 3) Marks CONFIG_PM_TRACE as dangerous.
I do not think that is enough. "(WILL TRASH YOUR CMOS)" would be more
suitable. Dangerous is "may cause problems to you". This is "will
cause problems to you". And for this to be useful, people have to edit
sources, anyway.
Pavel
Can we just delete the config option?
> Index: linux-2.6.18-rc4-mm1/kernel/power/Kconfig
> ===================================================================
> --- linux-2.6.18-rc4-mm1.orig/kernel/power/Kconfig
> +++ linux-2.6.18-rc4-mm1/kernel/power/Kconfig
> config PM_TRACE
> - bool "Suspend/resume event tracing"
> + bool "Suspend/resume event tracing (DANGEROUS)"
> depends on PM && PM_DEBUG && X86_32 && EXPERIMENTAL
> default n
> ---help---
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2006-08-16 10:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-15 13:09 [RFC][PATCH] PM: Use suspend_console in swsusp and make it configureable Rafael J. Wysocki
2006-08-16 10:41 ` Pavel Machek [this message]
2006-08-16 11:04 ` Rafael J. Wysocki
2006-08-16 11:06 ` [RFC][PATCH 1/3] swsusp: Use suspend_console Rafael J. Wysocki
2006-08-16 11:09 ` [RFC][PATCH 2/3] PM: Make console suspending configureable Rafael J. Wysocki
2006-09-04 9:08 ` Stefan Seyfried
2006-09-04 11:03 ` Rafael J. Wysocki
2006-09-04 11:02 ` Pavel Machek
2006-09-04 21:27 ` Laurent Riffard
2006-08-16 11:14 ` [RFC][PATCH 3/3] PM: Remove PM_TRACE from Kconfig Rafael J. Wysocki
2006-08-17 4:40 ` Greg KH
2006-08-17 5:24 ` Rafael J. Wysocki
2006-08-17 9:12 ` [linux-pm] " Pavel Machek
2006-08-17 11:52 ` Greg KH
2006-08-16 11:37 ` [RFC][PATCH] PM: Use suspend_console in swsusp and make it configureable Pavel Machek
2006-08-16 12:34 ` Nigel Cunningham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060816104143.GC9497@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@osdl.org \
--cc=rjw@sisk.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox