From: Pavel Machek <pavel@ucw.cz>
To: akuster <akuster@mvista.com>
Cc: Andrew Morton <akpm@osdl.org>,
linux-kernel-owner@vger.kernel.org, linux-pm@lists.osdl.org
Subject: Re: [PATCH 1/2] PM: fast power off - core
Date: Sun, 28 Jan 2007 20:12:41 +0100 [thread overview]
Message-ID: <20070128191241.GA13596@elf.ucw.cz> (raw)
In-Reply-To: <45BBA9D5.8020004@mvista.com>
Hi!
> Fastpoweroff allows a user to power down the system without using rc kill
> scripts. This is used in the advent of a battery operated device about to lose
> power. The user interface is vis sysfs /sys/power/fastpoweroff. A simple cat of
> the fastpoweroff will list any registered profiles. To invoke
> the profile sequence, echo {profile name} > /sys/power/fastpoweroff.
No, we do not want "poweroff profiles" in kernel. Sorry.
rc kill scripts should be fast enough, if not, fix them. If it is
impossible (time is spent in kernel waiting for network card to shut
off), fix that.
What you want is pretty much "echo b > ..../sysrq; halt --now".
Pavel
--
(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:[~2007-01-28 19:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-27 19:36 [PATCH 1/2] PM: fast power off - core akuster
2007-01-27 20:08 ` Andrew Morton
2007-01-27 22:34 ` akuster
2007-01-28 19:12 ` Pavel Machek [this message]
2007-01-29 18:08 ` akuster
[not found] <45BBB097.1090207@mvista.com>
2007-01-28 18:09 ` Randy Dunlap
2007-01-29 17:37 ` akuster
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=20070128191241.GA13596@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@osdl.org \
--cc=akuster@mvista.com \
--cc=linux-kernel-owner@vger.kernel.org \
--cc=linux-pm@lists.osdl.org \
/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