From: Nigel Cunningham <ncunningham@cyclades.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
Linux-pm mailing list <linux-pm@lists.osdl.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/23] Add missing device_suspsend(PMSG_FREEZE) calls.
Date: Wed, 27 Jul 2005 03:54:23 +1000 [thread overview]
Message-ID: <1122400462.4382.13.camel@localhost> (raw)
In-Reply-To: <m1iryxeb4t.fsf@ebiederm.dsl.xmission.com>
[-- Attachment #1: Type: text/plain, Size: 1536 bytes --]
Hi.
Could you please send PMSG_* related patches to linux-pm at
lists.osdl.org as well?
Thanks!
Nigel
On Wed, 2005-07-27 at 03:21, Eric W. Biederman wrote:
> In the recent addition of device_suspend calls into
> sys_reboot two code paths were missed.
>
> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
> ---
>
> kernel/sys.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> 5f0fb00783b94248b5a76c161f1c30a033fce4d3
> diff --git a/kernel/sys.c b/kernel/sys.c
> --- a/kernel/sys.c
> +++ b/kernel/sys.c
> @@ -391,6 +391,7 @@ asmlinkage long sys_reboot(int magic1, i
> case LINUX_REBOOT_CMD_RESTART:
> notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL);
> system_state = SYSTEM_RESTART;
> + device_suspend(PMSG_FREEZE);
> device_shutdown();
> printk(KERN_EMERG "Restarting system.\n");
> machine_restart(NULL);
> @@ -452,6 +453,7 @@ asmlinkage long sys_reboot(int magic1, i
> }
> notifier_call_chain(&reboot_notifier_list, SYS_RESTART, NULL);
> system_state = SYSTEM_RESTART;
> + device_suspend(PMSG_FREEZE);
> device_shutdown();
> printk(KERN_EMERG "Starting new kernel\n");
> machine_shutdown();
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
Evolution.
Enumerate the requirements.
Consider the interdependencies.
Calculate the probabilities.
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next parent reply other threads:[~2005-07-26 17:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m1mzo9eb8q.fsf@ebiederm.dsl.xmission.com>
[not found] ` <m1iryxeb4t.fsf@ebiederm.dsl.xmission.com>
2005-07-26 17:54 ` Nigel Cunningham [this message]
2005-07-28 1:12 ` [PATCH 1/23] Add missing device_suspsend(PMSG_FREEZE) calls Eric W. Biederman
2005-07-28 2:21 ` david-b
2005-07-28 2:44 ` Shaohua Li
[not found] ` <20050727025923.7baa38c9.akpm@osdl.org>
[not found] ` <m1k6jc9sdr.fsf@ebiederm.dsl.xmission.com>
[not found] ` <20050727104123.7938477a.akpm@osdl.org>
[not found] ` <m18xzs9ktc.fsf@ebiederm.dsl.xmission.com>
[not found] ` <20050727224711.GA6671@elf.ucw.cz>
[not found] ` <20050727155118.6d67d48e.akpm@osdl.org>
[not found] ` <20050727225442.GD6529@elf.ucw.cz>
[not found] ` <1123125850.948.9.camel@localhost>
[not found] ` <20050804214520.GF1780@elf.ucw.cz>
[not found] ` <m1ackah4r3.fsf@ebiederm.dsl.xmission.com>
[not found] ` <20050725161548.274d3d67.akpm@osdl.org>
[not found] ` <dnpst4v5px.fsf@magla.zg.iskon.hr>
[not found] ` <m1oe8o9stl.fsf@ebiederm.dsl.xmission.com>
[not found] ` <dny87s6oe9.fsf@magla.zg.iskon.hr>
[not found] ` <m1r7dk82a4.fsf@ebiederm.dsl.xmission.com>
[not found] ` <42E8439E.9030103@ribosome.natur.cuni.cz>
[not found] ` <20050727193911.2cb4df88.akpm@osdl.org>
[not found] ` <42F121CD.5070903@ribosome.natur.cuni.cz>
[not found] ` <20050803200514.3ddb8195.akpm@osdl.org>
[not found] ` <20050805140837.GA5556@localhost>
[not found] ` <42F52AC5.1060109@ribosome.natur.cuni.cz>
[not found] ` <1123193791.9025.77.camel@localhost>
2005-08-07 12:48 ` FYI: device_suspend(...) in kernel_power_off() Eric W. Biederman
2005-08-07 19:02 ` Pavel Machek
2005-08-07 19:46 ` Eric W. Biederman
2005-08-07 21:11 ` Pavel Machek
2005-08-09 17:25 ` Eric W. Biederman
2005-08-09 21:29 ` Nigel Cunningham
2005-08-10 13:08 ` Pavel Machek
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=1122400462.4382.13.camel@localhost \
--to=ncunningham@cyclades.com \
--cc=akpm@osdl.org \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.osdl.org \
--cc=torvalds@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