From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: "Huang, Ying" <ying.huang@intel.com>
Cc: David Lang <david@lang.hm>, LKML <linux-kernel@vger.kernel.org>,
Milton Miller <miltonm@bga.com>,
linux-pm <linux-pm@lists.linux-foundation.org>,
Jeremy Maitin-Shepard <jbms@cmu.edu>
Subject: Re: Re: Hibernation considerations
Date: Fri, 20 Jul 2007 23:34:40 +0200 [thread overview]
Message-ID: <200707202334.41665.rjw@sisk.pl> (raw)
In-Reply-To: <1184942918.13737.23.camel@caritas-dev.intel.com>
On Friday, 20 July 2007 16:48, Huang, Ying wrote:
> On Fri, 2007-07-20 at 09:01 -0500, Milton Miller wrote:
> > Simplifying kjump: the proposal for v3.
> >
> > The current code is trying to use crash dump area as a safe, reserved
> > area to run the second kernel. However, that means that the kernel
> > has to be linked specially to run in the reserved area. I think we
> > need to finish separating kexec_jump from the other code paths.
> >
> > (1) add a new command line argument that specifies the kexec_jump
> > target area (or just size?)
> >
> > (2) add a kjump flag to the flags parameter, used by kexec_load. When
> > loading a jump kernel, it is loaded like a normal kernel, however,
> > additional control pages are allocated to (a) save this kenrel's use of
> > the kexec_jump target area (b) save the backed up region that is used
> > by all kernels like crash dump, and (c) space for invoking
> > relocate_new_kernel that will get its args from the execution entry
> > point and will restore the kernel then call resume and suspend.
>
> Backuping target memory before kexec and restoring it after kexec is
> planed feature for kexec jump. But I will work on image writing/reading
> first.
Have you thought about using any existing code, when you're at it?
Greetings,
Rafael
--
"Premature optimization is the root of all evil." - Donald Knuth
next prev parent reply other threads:[~2007-07-20 21:34 UTC|newest]
Thread overview: 141+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.44L0.0707171416120.3728-100000@iolanthe.rowland.org>
2007-07-17 20:17 ` Hibernation considerations Rafael J. Wysocki
2007-07-17 20:27 ` david
2007-07-17 21:20 ` Rafael J. Wysocki
2007-07-17 22:38 ` Alan Stern
[not found] ` <200707172217.01890.rjw@sisk.pl>
2007-07-17 20:34 ` david
2007-07-17 20:54 ` Jeremy Maitin-Shepard
[not found] ` <87fy3mg39r.fsf@jbms.ath.cx>
2007-07-17 21:04 ` david
[not found] ` <200707172323.51702.rjw@sisk.pl>
2007-07-17 21:17 ` david
[not found] ` <871wf6g1q1.fsf@jbms.ath.cx>
2007-07-17 21:27 ` david
2007-07-17 21:54 ` Rafael J. Wysocki
2007-07-17 21:45 ` Rafael J. Wysocki
2007-07-17 21:27 ` Jeremy Maitin-Shepard
2007-07-17 21:43 ` Rafael J. Wysocki
2007-07-17 21:23 ` Rafael J. Wysocki
2007-07-17 20:34 ` Jeremy Maitin-Shepard
[not found] ` <87odiag45q.fsf@jbms.ath.cx>
[not found] ` <200707151433.34625.rjw@sisk.pl>
2007-07-15 12:51 ` Nigel Cunningham
2007-07-15 12:58 ` Dr. David Alan Gilbert
[not found] ` <200707151810.33554.a1426z@gawab.com>
2007-07-15 15:35 ` jimmy bahuleyan
2007-07-15 16:29 ` Alan Stern
[not found] ` <469A3EB9.8000304@gmail.com>
2007-07-15 17:40 ` Al Boldi
[not found] ` <469A8515.3080109@gmx.de>
2007-07-15 19:46 ` david
2007-07-15 20:13 ` david
[not found] ` <200707160047.28420.rjw@sisk.pl>
2007-07-15 22:42 ` david
2007-07-15 23:15 ` Alan Stern
2007-07-15 23:22 ` Rafael J. Wysocki
[not found] ` <200707160122.09840.rjw@sisk.pl>
2007-07-15 23:49 ` david
2007-07-16 12:06 ` Rafael J. Wysocki
2007-07-16 12:38 ` Jim Crilly
2007-07-16 15:29 ` Rafael J. Wysocki
[not found] ` <200707161729.16440.rjw@sisk.pl>
2007-07-17 4:28 ` david
2007-07-17 10:42 ` Matthew Garrett
[not found] ` <20070717104231.GA32486@srcf.ucam.org>
2007-07-17 15:19 ` david
[not found] ` <Pine.LNX.4.64.0707170818460.19248@asgard.lang.hm>
2007-07-18 2:18 ` Matthew Garrett
[not found] ` <20070718021817.GA13502@srcf.ucam.org>
2007-07-18 3:54 ` david
2007-07-18 11:10 ` Matthew Garrett
[not found] ` <20070718111016.GA18716@srcf.ucam.org>
2007-07-18 12:56 ` david
2007-07-15 22:47 ` Rafael J. Wysocki
2007-07-15 23:17 ` Alan Stern
2007-07-15 20:35 ` Cornelius Riemenschneider
[not found] ` <20070715125855.GA1737@gallifrey>
2007-07-15 22:38 ` Rafael J. Wysocki
[not found] ` <200707160038.12943.rjw@sisk.pl>
2007-07-15 22:27 ` david
[not found] ` <Pine.LNX.4.64.0707151526080.25614@asgard.lang.hm>
2007-07-17 17:40 ` Dr. David Alan Gilbert
[not found] ` <20070717174044.GA11212@gallifrey>
2007-07-17 17:49 ` david
2007-07-29 6:53 ` Vojtech Pavlik
[not found] ` <20070729065352.GB17084@suse.cz>
2007-07-29 9:56 ` Rafael J. Wysocki
2007-08-05 19:56 ` encrypted hibernation (was Re: Hibernation considerations) Pavel Machek
[not found] ` <20070805195628.GA1947@elf.ucw.cz>
2007-08-11 23:43 ` Dr. David Alan Gilbert
[not found] ` <20070811234356.GA19183@gallifrey>
2007-08-12 22:12 ` Rafael J. Wysocki
2007-08-13 2:30 ` Michael Chang
[not found] ` <b14e81f00708121930n7d9eab99r6fa776120c6287c1@mail.gmail.com>
2007-08-13 4:53 ` alon.barlev
[not found] ` <200708130012.27412.rjw@sisk.pl>
2007-08-18 19:37 ` Dr. David Alan Gilbert
[not found] ` <20070818193733.GC16635@gallifrey>
2007-08-21 7:29 ` Pavel Machek
2007-07-16 0:51 ` Hibernation considerations Matthew Garrett
[not found] ` <20070716005135.GB8140@srcf.ucam.org>
2007-07-16 0:51 ` david
[not found] ` <200707172320.16279.rjw@sisk.pl>
2007-07-20 14:01 ` Milton Miller
2007-07-20 14:48 ` Huang, Ying
2007-07-20 15:48 ` david
2007-07-22 2:17 ` Huang, Ying
[not found] ` <1185070634.3517.11.camel@caritas-dev.intel.com>
2007-07-22 2:32 ` david
2007-07-20 21:34 ` Rafael J. Wysocki [this message]
[not found] ` <ea7a437ca4038d408ac544bbc3c2434a@bga.com>
[not found] ` <200707192228.05136.rjw@sisk.pl>
2007-07-20 16:08 ` Milton Miller
2007-07-20 16:20 ` Alan Stern
2007-07-20 17:32 ` Milton Miller
2007-07-20 18:17 ` Alan Stern
2007-07-20 20:31 ` david
2007-07-20 21:24 ` Alan Stern
2007-07-20 21:34 ` david
2007-07-20 21:37 ` Jeremy Maitin-Shepard
[not found] ` <Pine.LNX.4.64.0707201428080.5166@asgard.lang.hm>
2007-07-20 22:15 ` Rafael J. Wysocki
2007-07-20 21:02 ` Rafael J. Wysocki
2007-07-21 11:44 ` Miklos Szeredi
[not found] ` <E1ICDNw-0008HC-00@dorka.pomaz.szeredi.hu>
2007-07-21 12:43 ` Nigel Cunningham
[not found] ` <200707212243.35602.nigel@nigel.suspend2.net>
2007-07-21 13:56 ` Alan Stern
2007-07-21 16:13 ` Jeremy Maitin-Shepard
[not found] ` <87lkd9ohtn.fsf@jbms.ath.cx>
2007-07-21 18:12 ` Miklos Szeredi
2007-07-21 19:20 ` Rafael J. Wysocki
2007-07-21 22:21 ` Nigel Cunningham
[not found] ` <200707212120.04645.rjw@sisk.pl>
2007-08-01 9:22 ` Pavel Machek
[not found] ` <20070801092227.GB4808@ucw.cz>
2007-08-02 17:02 ` Rafael J. Wysocki
2007-08-02 17:02 ` Rafael J. Wysocki
2007-07-21 22:16 ` Nigel Cunningham
2007-07-22 15:26 ` Alan Stern
2007-08-01 9:19 ` Pavel Machek
[not found] ` <Pine.LNX.4.64.0707191542430.28721@asgard.lang.hm>
[not found] ` <200707201317.58025.rjw@sisk.pl>
2007-07-20 16:56 ` Milton Miller
[not found] ` <f29402c6050f9c3ff5d83a59cea2de58@bga.com>
2007-07-20 17:31 ` Jeremy Maitin-Shepard
2007-07-20 21:30 ` Rafael J. Wysocki
2007-07-20 19:26 ` david
2007-07-20 21:28 ` Rafael J. Wysocki
2007-07-20 21:33 ` Jeremy Maitin-Shepard
[not found] ` <87ejj2pxoc.fsf@jbms.ath.cx>
2007-07-20 22:19 ` Rafael J. Wysocki
2007-07-17 20:37 ` david
2007-07-17 20:56 ` Jeremy Maitin-Shepard
[not found] ` <87bqeag369.fsf@jbms.ath.cx>
2007-07-17 21:06 ` david
[not found] ` <Pine.LNX.4.64.0707171404330.2467@asgard.lang.hm>
2007-07-17 21:40 ` Rafael J. Wysocki
2007-07-17 21:24 ` Rafael J. Wysocki
2007-07-17 21:11 ` Rafael J. Wysocki
[not found] <Pine.LNX.4.44L0.0707201408060.2546-100000@iolanthe.rowland.org>
2007-07-20 19:08 ` Milton Miller
2007-07-20 20:03 ` Oliver Neukum
[not found] <f29402c6050f9c3ff5d83a59cea2de58%40bga.com>
2007-07-20 19:09 ` Milton Miller
2007-07-20 20:23 ` Jeremy Maitin-Shepard
[not found] <fe998950b9d5ad317d5c1f5ff4e21ac9@bga.com>
2007-07-20 19:37 ` Alan Stern
[not found] <200707202203.27849.oliver@neukum.org>
2007-07-20 20:12 ` Alan Stern
[not found] <Pine.LNX.4.44L0.0707201608120.2546-100000@iolanthe.rowland.org>
2007-07-20 21:35 ` Oliver Neukum
[not found] <200707202335.05519.oliver@neukum.org>
2007-07-20 22:25 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.0707201820050.5241-100000@iolanthe.rowland.org>
2007-07-23 14:23 ` Oliver Neukum
2007-08-01 9:34 ` Pavel Machek
[not found] ` <20070801093437.GC4808@ucw.cz>
2007-08-03 3:50 ` david
[not found] <877ioupxi8.fsf@jbms.ath.cx>
2007-07-20 22:35 ` Alan Stern
2007-07-20 22:43 ` david
2007-07-20 22:48 ` Jeremy Maitin-Shepard
[not found] ` <Pine.LNX.4.64.0707201540260.5166@asgard.lang.hm>
2007-07-21 5:21 ` Nigel Cunningham
2007-07-21 14:10 ` Alan Stern
[not found] <Pine.LNX.4.44L0.0707210956320.8201-100000@netrider.rowland.org>
2007-07-22 3:43 ` david
[not found] <Pine.LNX.4.64.0707212000380.6747@asgard.lang.hm>
2007-07-22 16:00 ` Alan Stern
2007-07-22 21:50 ` david
2007-07-23 15:19 ` Alan Stern
[not found] <Pine.LNX.4.44L0.0707221608140.16031-100000@netrider.rowland.org>
2007-07-22 21:54 ` david
[not found] <Pine.LNX.4.44L0.0707221116060.15224-100000@netrider.rowland.org>
2007-07-22 16:27 ` Miklos Szeredi
2007-07-22 20:09 ` Alan Stern
2007-07-22 22:42 ` Nigel Cunningham
[not found] ` <200707230842.22121.nigel@nigel.suspend2.net>
2007-07-22 23:09 ` Rafael J. Wysocki
[not found] ` <200707230109.23071.rjw@sisk.pl>
2007-07-22 23:18 ` Nigel Cunningham
2007-07-23 0:04 ` Paul Mackerras
[not found] ` <18083.61595.217126.824924@cargo.ozlabs.ibm.com>
2007-07-23 3:11 ` Nigel Cunningham
2007-07-23 5:31 ` david
2007-07-23 10:24 ` Miklos Szeredi
2007-07-23 12:08 ` Rafael J. Wysocki
2007-07-23 12:14 ` Miklos Szeredi
[not found] ` <E1ICwoE-0004q8-00@dorka.pomaz.szeredi.hu>
2007-07-23 12:27 ` Rafael J. Wysocki
2007-07-23 12:31 ` Oliver Neukum
[not found] ` <200707231431.30372.oliver@neukum.org>
2007-07-23 13:08 ` Miklos Szeredi
[not found] ` <200707231601.09541.rjw@sisk.pl>
2007-07-23 14:01 ` Miklos Szeredi
2007-07-23 14:01 ` Rafael J. Wysocki
2007-07-23 19:08 ` david
[not found] <200707231311.56398.nigel@nigel.suspend2.net>
2007-07-23 15:23 ` Alan Stern
[not found] <Pine.LNX.4.44L0.0707231035150.3545-100000@iolanthe.rowland.org>
2007-07-23 19:01 ` david
[not found] <Pine.LNX.4.64.0707231121220.3828@asgard.lang.hm>
2007-07-23 20:22 ` Alan Stern
2007-07-24 13:26 ` Huang, Ying
[not found] <Pine.LNX.4.44L0.0707231120380.3545-100000@iolanthe.rowland.org>
2007-07-23 21:55 ` Nigel Cunningham
[not found] ` <200707240755.01820.nigel@nigel.suspend2.net>
2007-07-23 22:10 ` Rafael J. Wysocki
[not found] <9D7649D18729DE4BB2BD7B494F7FEDC236CF5C@pdsmsx415.ccr.corp.intel.com>
2007-07-24 14:50 ` Alan Stern
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=200707202334.41665.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=david@lang.hm \
--cc=jbms@cmu.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=miltonm@bga.com \
--cc=ying.huang@intel.com \
/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