Hi. On Thu, 2008-03-20 at 20:52 -0400, Alan Stern wrote:It's possible. 1) When hibernating, allocate a page (or pages if one isn't enough) for the data to end up in after the atomic restore. 2) Put the location(s) in the image header. 3) At resume time, allocate an equivalent number of extra 'safe' pages and set up extra pbes for the atomic restore to copy data from the extra pages to the ones allocated when hibernating. 4) At the appropriate point in time, copy the NVS data to the extra 'safe' pages allocated in step 3. The data will then be available to the resumed kernel post-resume. I've been using this method to pass data from the boot kernel to the resumed kernel for a while now. (I'm using it for I/O speed statistics and state preservation). Regards, Nigel --
| Ryan Hope | reiser4 for 2.6.27-rc1 |
| Ingo Molnar | Re: 2.6.24-rc6-mm1 |
| Tejun Heo | [PATCHSET] CUSE: implement CUSE |
| Peter Zijlstra | Re: 2.6.24-rc8-mm1 (BUG: sched_rt) |
git: | |
| Shawn O. Pearce | Re: [PATCH/POLL] git-format-patch: the default suffix is now .patch, not .txt |
| Jakub Narebski | Re: What's cooking in git.git (topics) |
| Junio C Hamano | Maintaining "needswork" section of "What's (not) cooking" |
| Matthias Lederhofer | [PATCH] prune-packed: new option --min-age=N |
| Theo de Raadt | That whole "Linux stealing our code" thing |
| Karthik Kumar | Re: Real men don't attack straw men |
| Khalid Schofield | Configuring sendmail openbsd 4.2 |
| Ray Percival | Re: Real men don't attack straw men |
| RW | Re: forcefsck on booting stage |
| Vladimir Terziev | Video memory as swap under FreeBSD |
| Ivan Voras | Progress for 7.0 - the "what's cooking" page |
| Pietro Cerutti | Re: [patch] enhance powerd(8) to handle max temperature |
